diff --git a/platform/osx/detect.py b/platform/osx/detect.py index a19f3b314d8..bb9e27da462 100644 --- a/platform/osx/detect.py +++ b/platform/osx/detect.py @@ -67,6 +67,7 @@ def configure(env): elif env["target"] == "debug": env.Prepend(CCFLAGS=["-g3"]) env.Prepend(CPPDEFINES=["DEBUG_ENABLED"]) + env.Prepend(LINKFLAGS=["-Xlinker", "-no_deduplicate"]) ## Architecture