mirror of
https://github.com/ziglang/zig.git
synced 2026-10-14 10:27:43 -04:00
std.Build.step.Compile: Fix lib{c,cpp} mixup in dependsOnSystemLibrary()
This commit is contained in:
1 parent
963ffe9d57
commit
b5e99b5295
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user