Update build.zig

Fixes #6477
This commit is contained in:
markfirmware 2020-10-01 13:15:35 -04:00 committed by GitHub
parent bf0afaa876
commit 8acfcf4e0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2168,7 +2168,7 @@ pub const LibExeObjStep = struct {
}
if (self.linker_script) |linker_script| {
zig_args.append("--linker-script") catch unreachable;
try zig_args.append("--script");
zig_args.append(builder.pathFromRoot(linker_script)) catch unreachable;
}