From 1b6fb91cad1251ec48104b6a9398fc9ac517d5c3 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Wed, 16 Nov 2005 20:17:30 +0000 Subject: GNU TLS detection with SCons. --- SConstruct | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- cgit v1.2.3