From 6e8584b0f642afeec73990832f54ed4ba750b11f Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 7 Nov 2012 11:05:30 +0000 Subject: Fix m_ssl_gnutls when using non-standard include/lib paths. This fixes #315. --- src/modules/extra/m_ssl_gnutls.cpp | 4 ++-- 1 file 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) -- cgit v1.2.3