We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ebbfc5d + 6b33eb4 commit 91f170aCopy full SHA for 91f170a
tools/macos.py
@@ -1,4 +1,4 @@
1
-# Based on https://github.com/godotengine/godot-cpp/blob/e83fd0904c13356ed1d4c3d09f8bb9132bdc6b77/tools/macos.py
+# Based on https://github.com/godotengine/godot-cpp/blob/98ea2f60bb3846d6ae410d8936137d1b099cd50b/tools/macos.py
2
import os
3
import sys
4
@@ -68,6 +68,14 @@ def generate(env):
68
env.Append(CCFLAGS=["-isysroot", env["macos_sdk_path"]])
69
env.Append(LINKFLAGS=["-isysroot", env["macos_sdk_path"]])
70
71
+ env.Append(
72
+ LINKFLAGS=[
73
+ "-framework",
74
+ "Foundation",
75
+ "-Wl,-undefined,dynamic_lookup",
76
+ ]
77
+ )
78
+
79
if env["use_ubsan"] or env["use_asan"] or env["use_tsan"]:
80
env.extra_suffix += ".san"
81
env.Append(CCFLAGS=["-DSANITIZERS_ENABLED"])
0 commit comments