diff options
author | Andrew Bartlett <abartlet@samba.org> | 2019-03-04 21:48:41 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-03-21 04:06:15 +0000 |
commit | ad3ba5998eec5cf29fcd33f5f902f8cf524aa6de (patch) | |
tree | b297614815ac8c215b55e13ef3178b4160be78e5 | |
parent | 709ac663ab686a3b0abec335f7486e7e4c8e7141 (diff) | |
download | samba-ad3ba5998eec5cf29fcd33f5f902f8cf524aa6de.tar.gz |
build: Remove distinct .py3 ABI files
The only difference between the two built libraries is pytalloc_CObject_FromTallocPtr()
which is deprecated.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
-rw-r--r-- | buildtools/wafsamba/wafsamba.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 2809ba8038d..cd3e9d3e7a8 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -251,10 +251,10 @@ def SAMBA_LIBRARY(bld, libname, source, features += ' abi_check' if pyembed and bld.env['PYTHON_SO_ABI_FLAG']: - # For ABI checking, we don't care about the exact Python version. - # Replace the Python ABI tag (e.g. ".cpython-35m") by a generic ".py3" + # For ABI checking, we don't care about the Python version. + # Remove the Python ABI tag (e.g. ".cpython-35m") abi_flag = bld.env['PYTHON_SO_ABI_FLAG'] - replacement = '.py%s' % bld.env['PYTHON_VERSION'].split('.')[0] + replacement = '' version_libname = libname.replace(abi_flag, replacement) else: version_libname = libname |