diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-28 14:10:15 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:27:12 +1000 |
commit | 42c9380760de4e0ad3f69810b8d623b3a77cc692 (patch) | |
tree | d7d7f486de0b7f15c0d5997baeb2387e26b79d4f /source4/lib/ldb | |
parent | f6a7d5b90762fee39ae117dc2bf926eac0dbab8a (diff) | |
download | samba-42c9380760de4e0ad3f69810b8d623b3a77cc692.tar.gz samba-42c9380760de4e0ad3f69810b8d623b3a77cc692.tar.bz2 samba-42c9380760de4e0ad3f69810b8d623b3a77cc692.zip |
s4-waf: set the bundled library extension for some libs
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r-- | source4/lib/ldb/wscript | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript index 4ba9c18a76..2cde5ee36a 100644 --- a/source4/lib/ldb/wscript +++ b/source4/lib/ldb/wscript @@ -17,6 +17,8 @@ def set_options(opt): opt.recurse(LIBTEVENT_DIR) def configure(conf): + conf.BUNDLED_LIBRARY_EXTENSION('ldb') + conf.sub_config(LIBTDB_DIR) conf.sub_config(LIBTEVENT_DIR) # where does the default LIBDIR end up? in conf.env somewhere? @@ -126,16 +128,9 @@ def build(bld): ldb_deps = 'tevent LIBLDB' if s4_build: - # the s4 build of ldb is really quite different from the normal build - # so we give the library a different name to prevent problems with apps - # that may depend on the distro version of ldb - lib_name = 'ldb-s4' - bld.TARGET_ALIAS(lib_name, 'ldb') ldb_deps += ' LDBSAMBA POPT_CREDENTIALS POPT_SAMBA LIBCMDLINE_CREDENTIALS gensec' - else: - lib_name = 'ldb' - bld.SAMBA_LIBRARY(lib_name, + bld.SAMBA_LIBRARY('ldb', COMMON_SRC + ' ' + LDB_MAP_SRC, deps=ldb_deps, includes='include', |