This commit is contained in:
GalaxyShard 2025-11-24 16:40:34 +09:00 committed by GitHub
commit 6fd77ac0ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {