fix not finding libgcc_s when looking for native libc

closes #2011
This commit is contained in:
Andrew Kelley
2019-02-25 19:10:48 -05:00
parent aab8e13529
commit 0f54728cf0
4 changed files with 56 additions and 25 deletions

View File

@@ -8815,6 +8815,7 @@ static Error check_cache(CodeGen *g, Buf *manifest_dir, Buf *digest) {
cache_list_of_str(ch, g->lib_dirs.items, g->lib_dirs.length);
if (g->libc) {
cache_buf(ch, &g->libc->include_dir);
cache_buf(ch, &g->libc->crt_dir);
cache_buf(ch, &g->libc->lib_dir);
cache_buf(ch, &g->libc->static_lib_dir);
cache_buf(ch, &g->libc->msvc_lib_dir);