summaryrefslogtreecommitdiff
path: root/source4/lib/tls/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-20 16:27:48 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:47 +1000
commit8f1b809d2ccb083cb84532e98b04a12fb1039e22 (patch)
treee2e453049331e712e3312bc1c30e33c6ae683c54 /source4/lib/tls/wscript
parent9cb39847c068305d544bcacd6887c57412e16586 (diff)
downloadsamba-8f1b809d2ccb083cb84532e98b04a12fb1039e22.tar.gz
samba-8f1b809d2ccb083cb84532e98b04a12fb1039e22.tar.bz2
samba-8f1b809d2ccb083cb84532e98b04a12fb1039e22.zip
build: nearly there on samba4 build
Diffstat (limited to 'source4/lib/tls/wscript')
-rw-r--r--source4/lib/tls/wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/lib/tls/wscript b/source4/lib/tls/wscript
index 24929e4c80..7b30a89215 100644
--- a/source4/lib/tls/wscript
+++ b/source4/lib/tls/wscript
@@ -15,6 +15,8 @@ def configure(conf):
if 'HAVE_GNUTLS' in conf.env and not Options.options.disable_gnutls:
conf.DEFINE('ENABLE_GNUTLS', 1)
+ conf.CHECK_FUNCS_IN('gnutls_global_init', 'gnutls')
+
conf.CHECK_HEADERS('gnutls/gnutls.h')
# check for gnutls_datum types
@@ -28,5 +30,5 @@ def configure(conf):
def build(bld):
bld.SAMBA_SUBSYSTEM('LIBTLS',
source='tls.c tlscert.c',
- public_deps='talloc GNUTLS GCRYPT LIBSAMBA-HOSTCONFIG samba_socket'
+ public_deps='talloc gnutls gcrypt LIBSAMBA-HOSTCONFIG samba_socket'
)