summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2019-05-23 11:11:11 +0200
committerJeremy Allison <jra@samba.org>2019-05-25 00:05:25 +0000
commitda87fa998ab71328f30bcdf5b41aee8675aee48a (patch)
tree366d5f819a3dc905878ce5c863f726a8dca5ca9a /libcli
parent77eabd74e9a28b1e6decf0890a9ef4c83fa002d4 (diff)
downloadsamba-da87fa998ab71328f30bcdf5b41aee8675aee48a.tar.gz
lib: Only compile resolvconftest if fmemopen exists
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13961 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat May 25 00:05:25 UTC 2019 on sn-devel-184
Diffstat (limited to 'libcli')
-rw-r--r--libcli/dns/wscript_build1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcli/dns/wscript_build b/libcli/dns/wscript_build
index ef1c34ffd2f..ea745c14028 100644
--- a/libcli/dns/wscript_build
+++ b/libcli/dns/wscript_build
@@ -8,6 +8,7 @@ bld.SAMBA_LIBRARY('clidns',
bld.SAMBA_BINARY('resolvconftest',
source='resolvconftest.c',
deps='clidns',
+ enabled=bld.CONFIG_SET('HAVE_FMEMOPEN'),
install=False)
bld.SAMBA_SUBSYSTEM('dns_lookup',