diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-07-26 15:21:02 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-07-26 18:21:48 +0200 |
commit | 3ce1894ff8befab199f8754f30331fa34aeb6530 (patch) | |
tree | 8eb98d74246a11104f07529ad2d16ef1bfd062d8 /source3 | |
parent | fc94f5238be46db85c9bb7fb4fcbd617a28769ee (diff) | |
download | samba-3ce1894ff8befab199f8754f30331fa34aeb6530.tar.gz samba-3ce1894ff8befab199f8754f30331fa34aeb6530.tar.bz2 samba-3ce1894ff8befab199f8754f30331fa34aeb6530.zip |
s3-build: Only define ldb3 when not in standalone build.
This prevents errors about it by 'make SYMBOLCHECK=1' if there is a
system ldb present.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Jul 26 18:21:48 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rwxr-xr-x | source3/wscript_build | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/wscript_build b/source3/wscript_build index 40a1d9be3a..50b21e9efa 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -1052,10 +1052,6 @@ bld.SAMBA3_LIBRARY('CHARSET3', deps='samba-util util_str', private_library=True) -bld.SAMBA3_SUBSYSTEM('ldb3', - source='lib/ldb_compat.c', - deps='samba-util') - bld.SAMBA3_SUBSYSTEM('errors3', source='libsmb/errormap.c libsmb/smberr.c lib/errmap_unix.c', deps='errors') @@ -1411,6 +1407,9 @@ bld.INSTALL_FILES('${SWATDIR}', swat_files, base_name='../swat') if not bld.env.toplevel_build: bld.SAMBA3_SUBSYSTEM('POPT_SAMBA', source='', deps='popt_samba3') + bld.SAMBA3_SUBSYSTEM('ldb3', + source='lib/ldb_compat.c', + deps='samba-util') bld.SAMBA3_SUBSYSTEM('ldb', source='', deps='ldb3') bld.SAMBA3_SUBSYSTEM('dcerpc', '', deps='UTIL_TEVENT') bld.SAMBA3_SUBSYSTEM('cli-ldap', '', deps='UTIL_TEVENT') |