Permalink
Browse files

Fix m_ssl_gnutls when using non-standard include/lib paths.

This fixes #315.
  • Loading branch information...
1 parent 504caa8 commit a940a9c8e8104f27c89cb3bbd3f9600a8434d494 @SaberUK SaberUK committed Nov 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/modules/extra/m_ssl_gnutls.cpp
@@ -40,8 +40,8 @@
#endif
/* $ModDesc: Provides SSL support for clients */
-/* $CompileFlags: pkgconfincludes("gnutls","/gnutls/gnutls.h","") */
-/* $LinkerFlags: rpath("pkg-config --libs gnutls") pkgconflibs("gnutls","/libgnutls.so","-lgnutls") -lgcrypt */
+/* $CompileFlags: pkgconfincludes("gnutls","/gnutls/gnutls.h","") exec("libgcrypt-config --cflags") */
+/* $LinkerFlags: rpath("pkg-config --libs gnutls") pkgconflibs("gnutls","/libgnutls.so","-lgnutls") exec("libgcrypt-config --libs") */
// These don't exist in older GnuTLS versions
#if(GNUTLS_VERSION_MAJOR < 2)

0 comments on commit a940a9c

Please sign in to comment.