core: fix target for macos libc search

pull/11639/head
Jeffrey C. Ollie 2026-03-19 00:10:12 -05:00
parent 64de418f38
commit 264a1a7cdd
No known key found for this signature in database
GPG Key ID: 1BB9EB7EA602265B
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ pub fn add(
});
const libc = try std.zig.LibCInstallation.findNative(.{
.allocator = b.allocator,
.target = target,
.target = &target.result,
.verbose = false,
});
c.addSystemIncludePath(.{ .cwd_relative = libc.sys_include_dir.? });