aboutsummaryrefslogtreecommitdiff
path: root/src/link.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/link.cpp')
-rw-r--r--src/link.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/link.cpp b/src/link.cpp
index 56a44c4612..caec1176be 100644
--- a/src/link.cpp
+++ b/src/link.cpp
@@ -671,6 +671,11 @@ static void construct_linker_job_darwin(LinkJob *lj) {
zig_panic("TODO");
}
+ for (int i = 0; i < g->darwin_frameworks.length; i += 1) {
+ lj->args.append("-framework");
+ lj->args.append(buf_ptr(g->darwin_frameworks.at(i)));
+ }
+
}
static void construct_linker_job(LinkJob *lj) {