summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-21 17:13:16 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-21 17:13:16 +1000
commit681f3dad7c32fc5dcf51ceda889d1f115a641aaa (patch)
tree0f26c56dc459568e96a97a9e336768fc66113420 /buildtools/wafsamba/wscript
parent1d5aee6b91004d71609b3203c919ef39888c86cc (diff)
downloadsamba-681f3dad7c32fc5dcf51ceda889d1f115a641aaa.tar.gz
samba-681f3dad7c32fc5dcf51ceda889d1f115a641aaa.tar.bz2
samba-681f3dad7c32fc5dcf51ceda889d1f115a641aaa.zip
build: added --nonshared-binary=LIST option
This allows you to specify some binaries that should be built without shared libs. A non-shared smbtorture will make testing s3 in the build farm easier
Diffstat (limited to 'buildtools/wafsamba/wscript')
-rw-r--r--buildtools/wafsamba/wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
index 72e0e90fbf..76e9b1f357 100644
--- a/buildtools/wafsamba/wscript
+++ b/buildtools/wafsamba/wscript
@@ -46,6 +46,9 @@ def set_options(opt):
gr.add_option('--disable-rpath-install',
help=("Disable use of rpath for installed binaries"),
action="store_true", dest='disable_rpath_install', default=False)
+ gr.add_option('--nonshared-binary',
+ help=("Disable use of shared libs for the listed binaries"),
+ action="store", dest='NONSHARED_BINARIES', default='')
opt.add_option('--with-modulesdir',
help=("modules directory [PREFIX/modules]"),
@@ -149,6 +152,7 @@ def configure(conf):
conf.env.BUNDLED_LIBS = Options.options.BUNDLED_LIBS.split(',')
conf.env.BUILTIN_LIBRARIES = Options.options.BUILTIN_LIBRARIES.split(',')
conf.env.DISABLE_SHARED = Options.options.disable_shared
+ conf.env.NONSHARED_BINARIES = Options.options.NONSHARED_BINARIES.split(',')
conf.env.BUNDLED_EXTENSION = Options.options.BUNDLED_EXTENSION
conf.env.BUNDLED_EXTENSION_EXCEPTION = Options.options.BUNDLED_EXTENSION_EXCEPTION.split(',')