aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-11-16 20:17:30 +0000
committerVincent Richard <[email protected]>2005-11-16 20:17:30 +0000
commit1b6fb91cad1251ec48104b6a9398fc9ac517d5c3 (patch)
tree0516e2d211e15c8d2d38412e9a491e7e0729843e
parentgmtime() and localtime() are reentrant when using MS C runtime library (MinGW... (diff)
downloadvmime-1b6fb91cad1251ec48104b6a9398fc9ac517d5c3.tar.gz
vmime-1b6fb91cad1251ec48104b6a9398fc9ac517d5c3.zip
GNU TLS detection with SCons.
-rw-r--r--SConstruct3
1 files changed, 2 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 590d4a54..e1e07a22 100644
--- a/SConstruct
+++ b/SConstruct
@@ -597,7 +597,8 @@ if env['with_sasl'] == 'yes':
env.ParseConfig('pkg-config --cflags --libs libgsasl')
if env['with_tls'] == 'yes':
- env.ParseConfig('pkg-config --cflags --libs libgnutls')
+ libgnutls_pc = os.popen("pkg-config --list-all | grep gnutls | cut -f 1 -d ' '").read()
+ env.ParseConfig('pkg-config --cflags --libs ' + libgnutls_pc)
# Generate help text for command line options
Help(opts.GenerateHelpText(env))