summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-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'
)