diff options
author | Günther Deschner <gd@samba.org> | 2011-02-11 12:07:39 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-02-11 12:22:41 +0100 |
commit | 1bad50f648fff0a145d56bf3094c14b6e0845fa2 (patch) | |
tree | 9c02ada036d0fbca766e210adef05ebdc032dc8d /source3/wscript_build | |
parent | d08ddf08a8f008909e3cf4ff1c1933566f1ec275 (diff) | |
download | samba-1bad50f648fff0a145d56bf3094c14b6e0845fa2.tar.gz samba-1bad50f648fff0a145d56bf3094c14b6e0845fa2.tar.bz2 samba-1bad50f648fff0a145d56bf3094c14b6e0845fa2.zip |
s3-waf: rework the way SMBLDAP subsystem is built a little.
Guenther
Diffstat (limited to 'source3/wscript_build')
-rw-r--r-- | source3/wscript_build | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source3/wscript_build b/source3/wscript_build index cb5cdcbf45..a201979ba8 100644 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -11,10 +11,7 @@ TDB_LIB_SRC = ''' TDB_VALIDATE_SRC = '''lib/tdb_validate.c''' -SMBLDAP = bld.env.SMBLDAP or "" -SMBLDAPUTIL = bld.env.SMBLDAPUTIL or "" - -SMBLDAP_SRC = '''${SMBLDAP} ${SMBLDAPUTIL}''' +SMBLDAP_SRC = '''lib/smbldap.c lib/smbldap_util.c''' VERSION_SRC = '''lib/version.c''' @@ -880,7 +877,8 @@ bld.SAMBA_SUBSYSTEM('SECRETS', bld.SAMBA_SUBSYSTEM('SMBLDAP', source=SMBLDAP_SRC, deps='ldap lber', - vars=locals()) + vars=locals(), + enabled=bld.env.HAVE_LDAP) bld.SAMBA_SUBSYSTEM('LIBADS', source=LIBADS_SRC, |