| author | |
| committer | |
| log | 63d4e3ce1eefa8fe150c1cfddbac3cd6bd361862 |
| tree | 6e2026f836fe1cd997f9ec0d9ea1540d2d1f5ef6 |
| parent | ceb2d44bfc71074abbe48b3b41a6c05ff39e7267 |
1 files changed, 4 insertions(+), 0 deletions(-)
src/codegen.cpp+4| ... | ... | @@ -1293,6 +1293,10 @@ void code_gen_link(CodeGen *g, const char *out_file) { |
| 1293 | 1293 | args.append("-static"); |
| 1294 | 1294 | } |
| 1295 | 1295 | |
| 1296 | if (g->out_type == OutTypeLib) { | |
| 1297 | zig_panic("TODO add ld commands for shared library"); | |
| 1298 | } | |
| 1299 | ||
| 1296 | 1300 | char *ZIG_NATIVE_DYNAMIC_LINKER = getenv("ZIG_NATIVE_DYNAMIC_LINKER"); |
| 1297 | 1301 | if (g->is_native_target && ZIG_NATIVE_DYNAMIC_LINKER) { |
| 1298 | 1302 | if (ZIG_NATIVE_DYNAMIC_LINKER[0] != 0) { |