mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
Merge f8efff2060 into b31173179b
This commit is contained in:
commit
6fd77ac0ad
1 changed files with 5 additions and 0 deletions
|
|
@ -1174,6 +1174,11 @@ fn getZigArgs(compile: *Compile, fuzz: bool) ![][]const u8 {
|
|||
}
|
||||
}
|
||||
|
||||
// Inherit dependencies on library paths
|
||||
for (mod.lib_paths.items) |path| {
|
||||
try zig_args.appendSlice(&.{ "-L", path.getPath2(mod.owner, step) });
|
||||
}
|
||||
|
||||
// Inherit dependencies on system libraries and static libraries.
|
||||
for (mod.link_objects.items) |link_object| {
|
||||
switch (link_object) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue