mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
cli: add --rpath and -R linker arg aliases
This commit is contained in:
parent
0b2e23b066
commit
7d41a5cbcf
@ -2133,7 +2133,7 @@ fn buildOutputType(
|
||||
}
|
||||
}
|
||||
provided_name = name[prefix..end];
|
||||
} else if (mem.eql(u8, arg, "-rpath")) {
|
||||
} else if (mem.eql(u8, arg, "-rpath") or mem.eql(u8, arg, "--rpath") or mem.eql(u8, arg, "-R")) {
|
||||
try create_module.rpath_list.append(arena, linker_args_it.nextOrFatal());
|
||||
} else if (mem.eql(u8, arg, "--subsystem")) {
|
||||
subsystem = try parseSubSystem(linker_args_it.nextOrFatal());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user