From f075b0ca52b3da3d1b46b0d2ab9fa0fc19f4ba13 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sun, 7 Jul 2024 21:51:03 +0200 Subject: [PATCH] Update build-all.py --- nix/build-all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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