Skip to content

Commit e97c3eb

Browse files
Merge pull request #87 from OpenVicProject/dependabot/submodules/scripts-d1aefb1
2 parents 6855982 + 47787e0 commit e97c3eb

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

SConstruct

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,16 @@ library_name = "libopenvic-dataloader{}{}".format(suffix, env["LIBSUFFIX"])
6868

6969
default_args = []
7070

71+
# macOS x86_64 requires Cocoa for iconv
72+
if env["platform"] == "macos" and (env["arch"] == "universal" or env["arch"] == "x86_64"):
73+
env.Append(
74+
LINKFLAGS=[
75+
"-framework",
76+
"Cocoa",
77+
"-Wl,-undefined,dynamic_lookup",
78+
]
79+
)
80+
7181
if env["run_ovdl_tests"]:
7282
env["build_ovdl_tests"] = True
7383

scripts

0 commit comments

Comments
 (0)