mirror of
https://github.com/ziglang/zig.git
synced 2026-02-17 06:49:23 +00:00
CLI: link_libcpp implies link_libc
Improves a warning message for some cases of using `zig run -lc++`.
This commit is contained in:
parent
d107ef8697
commit
a0cd4c0f32
@ -2011,6 +2011,10 @@ fn buildOutputType(
|
||||
i += 1;
|
||||
}
|
||||
}
|
||||
// libc++ depends on libc
|
||||
if (link_libcpp) {
|
||||
link_libc = true;
|
||||
}
|
||||
|
||||
if (use_lld) |opt| {
|
||||
if (opt and cross_target.isDarwin()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user