diff --git a/nix/build-all.py b/nix/build-all.py index 9fa1f74910..1902f84876 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" # NOTE: We don't use `CXXFLAGS` for wrappers, so wrapper is compiled with different flags # (e.g. ` -fdata-sections` is missing, which is set by default for executables)