diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-02-21 12:17:49 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-02-22 02:51:09 +0100 |
commit | f180e1ab7c3957b9d387ea0b3219b1805b2bde77 (patch) | |
tree | 33757baffa2a4631f39632b6fc3aa97526e7aa70 | |
parent | de71662908bfc358588dfa02c8674e8662c32588 (diff) | |
download | samba-f180e1ab7c3957b9d387ea0b3219b1805b2bde77.tar.gz samba-f180e1ab7c3957b9d387ea0b3219b1805b2bde77.tar.bz2 samba-f180e1ab7c3957b9d387ea0b3219b1805b2bde77.zip |
s3build: use source3/wscript for s3 configure rules
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | wscript | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -28,6 +28,8 @@ Options.default_prefix = '/usr/local/samba' def set_options(opt): + os.putenv('TOPLEVEL_BUILD', '1') + opt.BUILTIN_DEFAULT('NONE') opt.PRIVATE_EXTENSION_DEFAULT('samba4') opt.RECURSE('lib/replace') @@ -39,6 +41,7 @@ def set_options(opt): opt.RECURSE('lib/socket_wrapper') opt.RECURSE('lib/uid_wrapper') opt.RECURSE('pidl') + opt.RECURSE('source3') gr = opt.option_group('developer options') gr.add_option('--enable-build-farm', @@ -50,6 +53,7 @@ def set_options(opt): def configure(conf): + conf.env.toplevel_build = True version = samba_version.load_version(env=conf.env) conf.DEFINE('CONFIG_H_IS_FROM_SAMBA', 1) @@ -103,6 +107,7 @@ def configure(conf): conf.RECURSE('libcli/smbreadline') conf.RECURSE('pidl') conf.RECURSE('source4/selftest') + conf.RECURSE('source3') # we don't want any libraries or modules to rely on runtime # resolution of symbols |