aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Compilation.zig')
-rw-r--r--src/Compilation.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig
index 5c856b6217..1d1f2f01b8 100644
--- a/src/Compilation.zig
+++ b/src/Compilation.zig
@@ -3262,7 +3262,8 @@ fn detectLibCFromLibCInstallation(arena: *Allocator, target: Target, lci: *const
pub fn get_libc_crt_file(comp: *Compilation, arena: *Allocator, basename: []const u8) ![]const u8 {
if (comp.wantBuildGLibCFromSource() or
comp.wantBuildMuslFromSource() or
- comp.wantBuildMinGWFromSource())
+ comp.wantBuildMinGWFromSource() or
+ comp.wantBuildWASILibcSysrootFromSource())
{
return comp.crt_files.get(basename).?.full_object_path;
}