Skip to content

Commit f075b0c

Browse files
authored
Update build-all.py
1 parent a3844fe commit f075b0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nix/build-all.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ def compile_python_wrapper(python_version, python_library, python_include, pytho
971971
if platform.system() != "Darwin":
972972
if BUILD_CFG == "Release":
973973
# TODO: This symbol name depends on the Python version?
974-
run([strip, "-s", "-K", "PyInit__ifcopenshell_wrapper", "_ifcopenshell_wrapper.so"], cwd=module_dir)
974+
run([strip, "-s", "-K", "PyInit__ifcopenshell_wrapper", glob.glob(os.path.join(module_dir, "_ifcopenshell_wrapper*.so"))[0]], cwd=module_dir)
975975

976976
return module_dir
977977

0 commit comments

Comments
 (0)