diff options
Diffstat (limited to 'src/stage1.zig')
| -rw-r--r-- | src/stage1.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stage1.zig b/src/stage1.zig index f400053b0f..826fdd0f6b 100644 --- a/src/stage1.zig +++ b/src/stage1.zig @@ -416,7 +416,7 @@ export fn stage2_add_link_lib( const target = comp.getTarget(); const is_libc = target_util.is_libc_lib_name(target, lib_name); if (is_libc) { - if (!comp.bin_file.options.link_libc) { + if (!comp.bin_file.options.link_libc and !comp.bin_file.options.parent_compilation_link_libc) { return "dependency on libc must be explicitly specified in the build command"; } return null; |
