diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-10-01 18:29:50 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-10-01 18:30:31 -0400 |
| commit | 1962c8588f03f510c100d318472505315acaf3b2 (patch) | |
| tree | 0a75534a8915522f0817db4ddbedc60c10c5f081 /src/link.cpp | |
| parent | 9636603a3b14bd7205f762f8abb096d9f0ad1ec5 (diff) | |
| download | zig-1962c8588f03f510c100d318472505315acaf3b2.tar.gz zig-1962c8588f03f510c100d318472505315acaf3b2.zip | |
implement standard library path search
closes #463
See #302
Diffstat (limited to 'src/link.cpp')
| -rw-r--r-- | src/link.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link.cpp b/src/link.cpp index 90862bde8d..4327b5f8cf 100644 --- a/src/link.cpp +++ b/src/link.cpp @@ -34,7 +34,7 @@ static const char *get_libc_static_file(CodeGen *g, const char *file) { static Buf *build_o_raw(CodeGen *parent_gen, const char *oname, Buf *full_path) { ZigTarget *child_target = parent_gen->is_native_target ? nullptr : &parent_gen->zig_target; CodeGen *child_gen = codegen_create(full_path, child_target, OutTypeObj, parent_gen->build_mode, - parent_gen->zig_std_dir); + parent_gen->zig_lib_dir); child_gen->want_h_file = false; child_gen->verbose_link = parent_gen->verbose_link; |
