[vlc-commits] GnuTLS: plugin needs crypt32 on Windows to use the certificate store

Rémi Denis-Courmont git at videolan.org
Sun Nov 27 09:37:09 CET 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Nov 27 10:35:36 2011 +0200| [c26e0c1f56645085164cb1a98caf99f2a8a485f6] | committer: Rémi Denis-Courmont

GnuTLS: plugin needs crypt32 on Windows to use the certificate store

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c26e0c1f56645085164cb1a98caf99f2a8a485f6
---

 modules/misc/Modules.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/misc/Modules.am b/modules/misc/Modules.am
index 7803ae3..a555a7c 100644
--- a/modules/misc/Modules.am
+++ b/modules/misc/Modules.am
@@ -16,6 +16,9 @@ libvlc_LTLIBRARIES += libmemcpy_plugin.la
 libgnutls_plugin_la_SOURCES = gnutls.c dhparams.h
 libgnutls_plugin_la_CFLAGS = $(AM_CFLAGS) $(GNUTLS_CFLAGS) $(GCRYPT_CFLAGS)
 libgnutls_plugin_la_LIBADD = $(AM_LIBADD) $(GNUTLS_LIBS) $(GCRYPT_LIBS)
+if HAVE_WIN32
+libgnutls_plugin_la_LIBADD += -lcrypt32
+endif
 libgnutls_plugin_la_DEPENDENCIES =
 EXTRA_LTLIBRARIES += libgnutls_plugin.la
 libvlc_LTLIBRARIES += $(LTLIBgnutls)



More information about the vlc-commits mailing list