git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ae4121
)
wafsamba: simplify LIB_MAY_BE_BUNDLED()
author
Stefan Metzmacher
<metze@samba.org>
Fri, 14 Mar 2014 09:47:30 +0000
(10:47 +0100)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 2 Apr 2014 07:03:41 +0000
(09:03 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
buildtools/wafsamba/samba_bundled.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/samba_bundled.py
b/buildtools/wafsamba/samba_bundled.py
index 97ad4aa365b1115d0429635d1881fe71a9071852..1ca9b3ae50d791881e438f3243335214681dcbdf 100644
(file)
--- a/
buildtools/wafsamba/samba_bundled.py
+++ b/
buildtools/wafsamba/samba_bundled.py
@@
-70,9
+70,11
@@
def minimum_library_version(conf, libname, default):
@conf
def LIB_MAY_BE_BUNDLED(conf, libname):
- return ('NONE' not in conf.env.BUNDLED_LIBS and
- '!%s' % libname not in conf.env.BUNDLED_LIBS)
-
+ if '!%s' % libname in conf.env.BUNDLED_LIBS:
+ return False
+ if 'NONE' in conf.env.BUNDLED_LIBS:
+ return False
+ return True
@conf
def LIB_MUST_BE_BUNDLED(conf, libname):