Skip to content
Browse files

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

This fixes #315.
  • Loading branch information...
1 parent 999ba80 commit 6e8584b0f642afeec73990832f54ed4ba750b11f @SaberUK SaberUK committed with attilamolnar Nov 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/modules/extra/m_ssl_gnutls.cpp
View
4 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 6e8584b

Please sign in to comment.
Something went wrong with that request. Please try again.