aboutsummaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-08-02 21:49:26 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-08-03 09:52:15 -0700
commit4089f96defa7dae169e2b6cdba5e545293e57cb8 (patch)
treeaa5113504d95d1cb94a993e76bce05d0db01d64a /src/main.zig
parent9dd9aa49a59cf8534aaf9b44ee20d526ba8da1c6 (diff)
downloadzig-4089f96defa7dae169e2b6cdba5e545293e57cb8.tar.gz
zig-4089f96defa7dae169e2b6cdba5e545293e57cb8.zip
darwin: pass -iframework to clang for system frameworks
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/main.zig b/src/main.zig
index e3720cf903..a1b0216a70 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -2695,11 +2695,8 @@ fn buildOutputType(
try rpath_list.appendSlice(paths.rpaths.items);
}
- // Now that we have target info, we can find out if any of the system libraries
- // are part of libc or libc++. We remove them from the list and communicate their
- // existence via flags instead.
- // Similarly, if any libs in this list are statically provided, we omit
- // them from the resolved list and populate the link_objects array instead.
+ // If any libs in this list are statically provided, we omit them from the
+ // resolved list and populate the link_objects array instead.
{
var test_path = std.ArrayList(u8).init(gpa);
defer test_path.deinit();