summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-04-30 11:25:52 +0200
committerKai Blin <kai@samba.org>2010-05-20 22:16:14 +0200
commitcf0cea838fd3565b81062a502732c249382a1149 (patch)
tree8aa48e114279386e5cd42ee24dde2011d2301f62
parent0cb99738ca81a54fab1c3c63bb24f3014314e925 (diff)
downloadsamba-cf0cea838fd3565b81062a502732c249382a1149.tar.gz
samba-cf0cea838fd3565b81062a502732c249382a1149.tar.bz2
samba-cf0cea838fd3565b81062a502732c249382a1149.zip
s3-waf: fix up the LDAP objects if LDAP isn't built
-rw-r--r--source3/wscript_build4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 3b2ab01ac1..d8d488e72e 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -10,8 +10,8 @@ TDB_LIB_SRC = '''lib/util_tdb.c ../lib/util/util_tdb.c
TDB_VALIDATE_SRC = '''lib/tdb_validate.c'''
-SMBLDAP = bld.env.SMBLDAP
-SMBLDAPUTIL = bld.env.SMBLDAPUTIL
+SMBLDAP = bld.env.SMBLDAP or ""
+SMBLDAPUTIL = bld.env.SMBLDAPUTIL or ""
SMBLDAP_SRC = '''${SMBLDAP} ${SMBLDAPUTIL}'''