Skip to content

Commit 49fff6a

Browse files
committed
Remove unnecessary Cocoa reference
1 parent 8524240 commit 49fff6a

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tools/macos.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Based on https://github.com/godotengine/godot-cpp/blob/98ea2f60bb3846d6ae410d8936137d1b099cd50b/tools/macos.py
1+
# Based on https://github.com/godotengine/godot-cpp/blob/e83fd0904c13356ed1d4c3d09f8bb9132bdc6b77/tools/macos.py
22
import os
33
import sys
44

@@ -68,14 +68,6 @@ def generate(env):
6868
env.Append(CCFLAGS=["-isysroot", env["macos_sdk_path"]])
6969
env.Append(LINKFLAGS=["-isysroot", env["macos_sdk_path"]])
7070

71-
env.Append(
72-
LINKFLAGS=[
73-
"-framework",
74-
"Cocoa",
75-
"-Wl,-undefined,dynamic_lookup",
76-
]
77-
)
78-
7971
if env["use_ubsan"] or env["use_asan"] or env["use_tsan"]:
8072
env.extra_suffix += ".san"
8173
env.Append(CCFLAGS=["-DSANITIZERS_ENABLED"])

0 commit comments

Comments
 (0)