mirror of
https://github.com/ziglang/zig.git
synced 2025-12-25 15:43:06 +00:00
Windows libc & static libc are located in the same dir which is already covered by msvc_lib_dir
This commit is contained in:
parent
795703a39c
commit
1890760206
@ -3440,8 +3440,14 @@ void find_libc_lib_path(CodeGen *g) {
|
||||
zig_panic("Unable to determine libc lib path.");
|
||||
}
|
||||
}
|
||||
|
||||
if (!g->libc_static_lib_dir || buf_len(g->libc_static_lib_dir) == 0) {
|
||||
zig_panic("Unable to determine libc static lib path.");
|
||||
if ((g->zig_target.os == ZigLLVM_Win32) && (g->msvc_lib_dir != NULL)) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
zig_panic("Unable to determine libc static lib path.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user