diff options
author | Andrew Bartlett <abartlet@samba.org> | 2019-02-15 16:28:38 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-03-21 04:06:14 +0000 |
commit | 270d04e4ea0e3a7f4443557f5ff65e6f9e426295 (patch) | |
tree | 92497431f2c83a3f6d2493d5b28b28a34f4e44ba /buildtools/wafsamba/wafsamba.py | |
parent | fa980eb654a28a652cec64b2374858645e1bf533 (diff) | |
download | samba-270d04e4ea0e3a7f4443557f5ff65e6f9e426295.tar.gz |
build: Remove --extra-python
This option is quite invasive in waf and was mainly for the python3 transition.
Testing with multiple python versions can be done by testing a full compile against
multiple versions, likewise multiple different binding versions can be created
the same way.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'buildtools/wafsamba/wafsamba.py')
-rw-r--r-- | buildtools/wafsamba/wafsamba.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 1b98e1ceb2c..2809ba8038d 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -136,9 +136,6 @@ def SAMBA_LIBRARY(bld, libname, source, enabled=True): '''define a Samba library''' - if pyembed and bld.env['IS_EXTRA_PYTHON']: - public_headers = None - if private_library and public_headers: raise Errors.WafError("private library '%s' must not have public header files" % libname) @@ -222,7 +219,7 @@ def SAMBA_LIBRARY(bld, libname, source, if pc_files is None: raise Errors.WafError("public library '%s' must have pkg-config file" % libname) - if public_headers is None and not bld.env['IS_EXTRA_PYTHON']: + if public_headers is None: raise Errors.WafError("public library '%s' must have header files" % libname) |