PY3: detect talloc_utils (for version of python running the build)
[samba.git] / lib / talloc / wscript
index 4a17650c052079ddc26a13ad0b9216cb93dfec12..a5841b46e4e9cc1f38c180f0488a1437afaf4f61 100644 (file)
@@ -77,10 +77,10 @@ def configure(conf):
             using_system_pytalloc_util = False
         else:
             using_system_pytalloc_util = True
-            if not conf.CHECK_BUNDLED_SYSTEM_PKG('pytalloc-util', minversion=VERSION,
+            name = 'pytalloc-util' + conf.all_envs['default']['PYTHON_SO_ABI_FLAG']
+            if not conf.CHECK_BUNDLED_SYSTEM_PKG(name, minversion=VERSION,
                                                  implied_deps='talloc replace'):
                 using_system_pytalloc_util = False
-
             # We need to get a pytalloc-util for all the python versions
             # we are building for
             if conf.env['EXTRA_PYTHON']: