summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2016-01-26 11:28:50 +0100
committerKarolin Seeger <kseeger@samba.org>2016-02-02 12:07:22 +0100
commit155d821b7baa511bb723f1ecc61cf0736b1762d0 (patch)
tree0609cad78e4d8124216b7f150823928127745ad7 /source3
parent2b218c3b9707ff98114762ad1dc81da0984050ec (diff)
downloadsamba-155d821b7baa511bb723f1ecc61cf0736b1762d0.tar.gz
waf: Only build smb_krb5_wrapper if we have CUPS
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 192f1516c378ae942d14921bfcc1e11173da36e6)
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/wscript_build3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 657d79875c2..ba670d35d8b 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -1191,7 +1191,8 @@ bld.SAMBA3_BINARY('smbspool_krb5_wrapper',
deps='''
DYNCONFIG
cups
- ''')
+ ''',
+ enabled=bld.CONFIG_SET('HAVE_CUPS'))
bld.SAMBA3_BINARY('testparm',
source='utils/testparm.c',