handle libc include path and libc lib path differently

This commit is contained in:
Andrew Kelley
2016-02-15 16:52:37 -07:00
parent c6bf9c6942
commit f580c7fa43
4 changed files with 20 additions and 13 deletions

View File

@@ -3695,7 +3695,7 @@ static void init(CodeGen *g, Buf *source_path) {
}
void codegen_parseh(CodeGen *g, Buf *src_dirname, Buf *src_basename, Buf *source_code) {
find_libc_path(g);
find_libc_include_path(g);
Buf *full_path = buf_alloc();
os_path_join(src_dirname, src_basename, full_path);