]> git.sesse.net Git - vlc/commitdiff
GNUTLS plugin require libgcrypt explicitly since it calls gcry_control.
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 21 Oct 2006 10:24:21 +0000 (10:24 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 21 Oct 2006 10:24:21 +0000 (10:24 +0000)
configure.ac

index 00a5e7430fdc2ccbf5d4682d8c923bf1dc05d54a..2c17b938026a37e65726668311bd9282fac0021e 100644 (file)
@@ -5131,6 +5131,9 @@ AS_IF([test "${enable_gnutls}" != "no"], [
       AC_MSG_ERROR([gnutls not present or too old (version 1.2.9 required)])
     ])
   ])
+  AC_CHECK_LIB([gcrypt], [gcry_control], [
+    VLC_ADD_LDFLAGS([gnutls], [-lgcrypt])
+  ])
 ])