diff --git a/nix/build-all.py b/nix/build-all.py index 95ba7883d1..e6fedb4d0f 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -971,7 +971,7 @@ if "IfcOpenShell-Python" in targets: if platform.system() != "Darwin": if BUILD_CFG == "Release": # TODO: This symbol name depends on the Python version? - run([strip, "-s", "-K", "PyInit__ifcopenshell_wrapper", "_ifcopenshell_wrapper.so"], cwd=module_dir) + run([strip, "-s", "-K", "PyInit__ifcopenshell_wrapper", glob.glob(os.path.join(module_dir, "_ifcopenshell_wrapper*.so"))[0]], cwd=module_dir) return module_dir