commit 0039cb7ef2df44619415e3155f4abd15eabcbd19 (tree) parent 88146ea704f2b596b0bec0ab2aba786fcb636d8c Author: Linus Groh <mail@linusgroh.de> Date: Wed, 29 May 2024 00:00:57 +0200 std.Build.step.Compile: Fix lib{c,cpp} mixup in dependsOnSystemLibrary() Diffstat:
| M | lib/std/Build/Step/Compile.zig | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/Build/Step/Compile.zig b/lib/std/Build/Step/Compile.zig @@ -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; }