Skip to content

Commit 511e53f

Browse files
committed
Link CoreFoundation for macOS targets
1 parent cc7fe81 commit 511e53f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform/main.roc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ platform ""
66
targets: {
77
files: "targets/",
88
exe: {
9-
x64mac: ["libhost.a", app],
10-
arm64mac: ["libhost.a", app],
9+
x64mac: ["libhost.a", app, "-framework", "CoreFoundation"],
10+
arm64mac: ["libhost.a", app, "-framework", "CoreFoundation"],
1111
x64musl: ["crt1.o", "libhost.a", "libunwind.a", app, "libc.a"],
1212
arm64musl: ["crt1.o", "libhost.a", "libunwind.a", app, "libc.a"],
1313
}

0 commit comments

Comments
 (0)