mirror of
https://github.com/ziglang/zig.git
synced 2024-11-28 23:30:13 +00:00
std.Build.step.Compile: Fix lib{c,cpp} mixup in dependsOnSystemLibrary()
This commit is contained in:
parent
963ffe9d57
commit
b5e99b5295
@ -583,7 +583,7 @@ pub fn dependsOnSystemLibrary(compile: *const Compile, name: []const u8) bool {
|
||||
else => continue,
|
||||
}
|
||||
}
|
||||
is_linking_libc = is_linking_libc or module.link_libcpp == true;
|
||||
is_linking_libc = is_linking_libc or module.link_libc == true;
|
||||
is_linking_libcpp = is_linking_libcpp or module.link_libcpp == true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user