| ... | @@ -637,11 +637,11 @@ pub fn dependsOnSystemLibrary(compile: *Compile, name: []const u8) bool { | ... | @@ -637,11 +637,11 @@ pub fn dependsOnSystemLibrary(compile: *Compile, name: []const u8) bool { |
| 637 | | 637 | |
| 638 | const target = compile.rootModuleTarget(); | 638 | const target = compile.rootModuleTarget(); |
| 639 | | 639 | |
| 640 | if (std.zig.target.isLibCLibName(target, name)) { | 640 | if (std.zig.target.isLibCLibName(&target, name)) { |
| 641 | return is_linking_libc; | 641 | return is_linking_libc; |
| 642 | } | 642 | } |
| 643 | | 643 | |
| 644 | if (std.zig.target.isLibCxxLibName(target, name)) { | 644 | if (std.zig.target.isLibCxxLibName(&target, name)) { |
| 645 | return is_linking_libcpp; | 645 | return is_linking_libcpp; |
| 646 | } | 646 | } |
| 647 | | 647 | |