mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
std/build: fix linker_allow_shlib_undefined
The relevant flags were renamed in 01a1365 but updating std.build was overlooked.
This commit is contained in:
parent
9f6b56ab4b
commit
8e6865c8ee
@ -2341,7 +2341,7 @@ pub const LibExeObjStep = struct {
|
||||
try zig_args.append("-ffunction-sections");
|
||||
}
|
||||
if (self.linker_allow_shlib_undefined) |x| {
|
||||
try zig_args.append(if (x) "--allow-shlib-undefined" else "--no-allow-shlib-undefined");
|
||||
try zig_args.append(if (x) "-fallow-shlib-undefined" else "-fno-allow-shlib-undefined");
|
||||
}
|
||||
if (self.single_threaded) {
|
||||
try zig_args.append("--single-threaded");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user