std.Build.step.Compile: Fix lib{c,cpp} mixup in dependsOnSystemLibrary()
This commit is contained in:
committed by
Andrew Kelley
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user