diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2020-11-02 18:56:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-02 18:56:08 +0100 |
| commit | f42ebd1b0a1394129e42847a694e2e55d17d4ca9 (patch) | |
| tree | 2bab222594d288c3afccb59c96538c8b78bcef1f /src | |
| parent | 7f5c96378d0fa91265aef7a2d5c33c7953c23b5b (diff) | |
| download | zig-f42ebd1b0a1394129e42847a694e2e55d17d4ca9.tar.gz zig-f42ebd1b0a1394129e42847a694e2e55d17d4ca9.zip | |
Update src/Compilation.zig
Co-authored-by: Andrew Kelley <andrew@ziglang.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/Compilation.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index 55b1c05104..8c7ec97b2d 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -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; |
