diff --git a/nix/build-all.py b/nix/build-all.py index 4a8f2729fa..4b87fd2bf6 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -1452,7 +1452,7 @@ if "IfcOpenShell-Python" in targets: # On OSX the actual Python library is not linked against. ADDITIONAL_ARGS = "" if platform.system() == "Darwin": - ADDITIONAL_ARGS = "-Wl,-flat_namespace,-undefined,suppress" + ADDITIONAL_ARGS = "-Wl,-undefined,dynamic_lookup" if "wasm" in flags: ADDITIONAL_ARGS = "-Wl,-undefined,suppress"