summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/ldb/wscript4
-rw-r--r--source4/wscript4
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript
index 2cde5ee36a..ad875374db 100644
--- a/source4/lib/ldb/wscript
+++ b/source4/lib/ldb/wscript
@@ -13,12 +13,12 @@ LIBTDB_DIR= srcdir + '/lib/tdb'
LIBTEVENT_DIR= srcdir + '/lib/tevent'
def set_options(opt):
+ opt.BUILTIN_DEFAULT('replace')
+ opt.BUNDLED_EXTENSION_DEFAULT('ldb', noextenion='ldb')
opt.recurse(LIBTDB_DIR)
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?
diff --git a/source4/wscript b/source4/wscript
index b7b66c6f10..d8361398f4 100644
--- a/source4/wscript
+++ b/source4/wscript
@@ -8,6 +8,8 @@ sys.path.insert(0, srcdir+"/buildtools/wafsamba")
import wafsamba, Options
def set_options(opt):
+ opt.BUILTIN_DEFAULT('NONE')
+ opt.BUNDLED_EXTENSION_DEFAULT('s4')
opt.recurse('../lib/replace')
opt.recurse('dynconfig')
opt.recurse('scripting/python')
@@ -32,8 +34,6 @@ def configure(conf):
conf.DEFINE('_SAMBA_BUILD_', 4, add_to_cflags=True)
conf.DEFINE('HAVE_CONFIG_H', 1, add_to_cflags=True)
- conf.BUNDLED_LIBRARY_EXTENSION('s4')
-
if Options.options.developer:
conf.ADD_CFLAGS('-DDEVELOPER -DDEBUG_PASSWORD')