mirror of
https://github.com/ziglang/zig.git
synced 2026-02-09 19:10:48 +00:00
Update src/Compilation.zig
Co-authored-by: Andrew Kelley <andrew@ziglang.org>
This commit is contained in:
parent
7f5c96378d
commit
f42ebd1b0a
@ -472,7 +472,7 @@ pub fn create(gpa: *Allocator, options: InitOptions) !*Compilation {
|
||||
break :blk false;
|
||||
};
|
||||
|
||||
const syslibroot = if (use_lld and options.is_native_os and options.target.isDarwin()) blk: {
|
||||
const syslibroot = if (build_options.have_llvm and use_lld and options.is_native_os and options.target.isDarwin()) blk: {
|
||||
const syslibroot_path = try std.zig.system.getSDKPath(arena);
|
||||
break :blk syslibroot_path;
|
||||
} else null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user