summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2012-11-07 11:05:30 +0000
committerattilamolnar <attilamolnar@hush.com>2012-11-08 01:13:50 +0100
commit6e8584b0f642afeec73990832f54ed4ba750b11f (patch)
treeaea32c5a92c2bb109c8c11604af25c11705bb8ea /src
parent999ba802d61bdc188858e3c1b9fb0d974f537779 (diff)
Fix m_ssl_gnutls when using non-standard include/lib paths.
This fixes #315.
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index 4ee1b3cbf..faa8b0537 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/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)