talloc: use the system pytalloc-util for python3 as well
[nivanova/samba-autobuild/.git] / buildtools / wafsamba / samba_python.py
index 057a0176e155d3ba3052a85741254cecaeaeae46..bba059edf986b8fdae6fe6a123992f1ca80dc8b5 100644 (file)
@@ -75,6 +75,8 @@ def _check_python_headers(conf, mandatory):
         conf.env['PYTHON_SO_ABI_FLAG'] = abi_pattern % ''
     else:
         conf.env['PYTHON_SO_ABI_FLAG'] = ''
+    conf.env['PYTHON_LIBNAME_SO_ABI_FLAG'] = (
+        conf.env['PYTHON_SO_ABI_FLAG'].replace('_', '-'))
 
 
 def SAMBA_PYTHON(bld, name,