git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c8388f
)
build: Skip build of python bindings when in fuzzing mode
author
Andrew Bartlett
<abartlet@samba.org>
Sat, 7 Dec 2019 00:37:10 +0000
(13:37 +1300)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 10 Dec 2019 07:50:29 +0000
(07:50 +0000)
This will just save a bit of time and space.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
buildtools/wafsamba/samba_python.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/samba_python.py
b/buildtools/wafsamba/samba_python.py
index cb726cf0bcce5a005d4f39d6bc178af145b2c1b2..0b96a81ff4126522baafc9fb4b7b30c0974e118e 100644
(file)
--- a/
buildtools/wafsamba/samba_python.py
+++ b/
buildtools/wafsamba/samba_python.py
@@
-104,6
+104,10
@@
def SAMBA_PYTHON(bld, name,
if not bld.PYTHON_BUILD_IS_ENABLED():
enabled = False
+ # Save time, no need to build python bindings when fuzzing
+ if bld.env.enable_fuzzing:
+ enabled = False
+
# when we support static python modules we'll need to gather
# the list from all the SAMBA_PYTHON() targets
if init_function_sentinel is not None: