mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
std.Build.step.Compile: Fix lib{c,cpp} mixup in dependsOnSystemLibrary()
This commit is contained in:
parent
88146ea704
commit
0039cb7ef2
@ -591,7 +591,7 @@ pub fn dependsOnSystemLibrary(self: *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…
x
Reference in New Issue
Block a user