authorgravatar for mail@linusgroh.deLinus Groh <mail@linusgroh.de> 2024-05-29 00:00:57+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-06-06 10:43:54-07:00
log0039cb7ef2df44619415e3155f4abd15eabcbd19
tree1d66f24b3b4a4dfcb723a18eaec6d20216f57d7e
parent88146ea704f2b596b0bec0ab2aba786fcb636d8c

std.Build.step.Compile: Fix lib{c,cpp} mixup in dependsOnSystemLibrary()


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/Build/Step/Compile.zig+1-1
......@@ -591,7 +591,7 @@ pub fn dependsOnSystemLibrary(self: *const Compile, name: []const u8) bool {
591591 else => continue,
592592 }
593593 }
594 is_linking_libc = is_linking_libc or module.link_libcpp == true;
594 is_linking_libc = is_linking_libc or module.link_libc == true;
595595 is_linking_libcpp = is_linking_libcpp or module.link_libcpp == true;
596596 }
597597