diff options
author | Andrew Bartlett <abartlet@samba.org> | 2019-12-07 13:37:10 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-12-10 07:50:29 +0000 |
commit | 96184c10b8d048a67e57b7b838a1da2a1588455c (patch) | |
tree | e78756d11cf4439acfea9fcfbfafd3837e85784b /buildtools/wafsamba | |
parent | 4c8388fb19865c7e0aa6facf43b6cbd1906a6b2c (diff) | |
download | samba-96184c10b8d048a67e57b7b838a1da2a1588455c.tar.gz |
build: Skip build of python bindings when in fuzzing mode
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>
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r-- | buildtools/wafsamba/samba_python.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_python.py b/buildtools/wafsamba/samba_python.py index cb726cf0bcc..0b96a81ff41 100644 --- 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: |