mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-12 17:08:39 -09:00
fix std.Target.isDarwin function replaced with direct version
See https://github.com/ziglang/zig/pull/22589 . Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>
This commit is contained in:
parent
173f14f8e2
commit
8659ebf5a8
1 changed files with 2 additions and 2 deletions
|
|
@ -22,8 +22,8 @@ pub fn build(b: *std.Build) void {
|
||||||
exe.pie = pie;
|
exe.pie = pie;
|
||||||
exe.root_module.linkSystemLibrary("ncursesw", .{});
|
exe.root_module.linkSystemLibrary("ncursesw", .{});
|
||||||
exe.root_module.linkSystemLibrary("libzstd", .{});
|
exe.root_module.linkSystemLibrary("libzstd", .{});
|
||||||
// https://github.com/ziglang/zig/blob/b52be973dfb7d1408218b8e75800a2da3dc69108/build.zig#L551-L554
|
// https://github.com/ziglang/zig/blob/faccd79ca5debbe22fe168193b8de54393257604/build.zig#L745-L748
|
||||||
if (target.result.isDarwin()) {
|
if (target.result.os.tag.isDarwin()) {
|
||||||
// useful for package maintainers
|
// useful for package maintainers
|
||||||
exe.headerpad_max_install_names = true;
|
exe.headerpad_max_install_names = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue