diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-04-21 17:13:16 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-21 17:13:16 +1000 |
commit | 681f3dad7c32fc5dcf51ceda889d1f115a641aaa (patch) | |
tree | 0f26c56dc459568e96a97a9e336768fc66113420 /buildtools/wafsamba/samba_bundled.py | |
parent | 1d5aee6b91004d71609b3203c919ef39888c86cc (diff) | |
download | samba-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/samba_bundled.py')
-rw-r--r-- | buildtools/wafsamba/samba_bundled.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_bundled.py b/buildtools/wafsamba/samba_bundled.py index f668d56cb6..f105a2d5ff 100644 --- a/buildtools/wafsamba/samba_bundled.py +++ b/buildtools/wafsamba/samba_bundled.py @@ -127,3 +127,11 @@ def CHECK_BUNDLED_SYSTEM(conf, libname, minversion='0.0.0', sys.exit(1) return False +def NONSHARED_BINARY(bld, name): + '''return True if a binary should be built without non-system shared libs''' + if bld.env.DISABLE_SHARED: + return True + return target_in_list(name, bld.env.NONSHARED_BINARIES, False) +Build.BuildContext.NONSHARED_BINARY = NONSHARED_BINARY + + |