diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-12-11 23:02:35 +0100 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-12-13 00:40:35 +0100 |
| commit | 1d8f33ca98493d63c509e0a23b8dc512f4d7b79f (patch) | |
| tree | f81c326ceef3cb9a010f85af5092274d908381ad /src/libunwind.zig | |
| parent | 078a64f8d9b50ad99afe12ba3038afc3e68f507c (diff) | |
| download | zig-1d8f33ca98493d63c509e0a23b8dc512f4d7b79f.tar.gz zig-1d8f33ca98493d63c509e0a23b8dc512f4d7b79f.zip | |
stage2: link musl dynamically by default if native
If targeting the native OS and the system libc is musl, link against it
dynamically by default.
Diffstat (limited to 'src/libunwind.zig')
| -rw-r--r-- | src/libunwind.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libunwind.zig b/src/libunwind.zig index 3607488aba..ec8fe990e9 100644 --- a/src/libunwind.zig +++ b/src/libunwind.zig @@ -108,6 +108,7 @@ pub fn buildStaticLib(comp: *Compilation) !void { .emit_h = null, .strip = comp.bin_file.options.strip, .is_native_os = comp.bin_file.options.is_native_os, + .is_native_abi = comp.bin_file.options.is_native_abi, .self_exe_path = comp.self_exe_path, .c_source_files = &c_source_files, .verbose_cc = comp.verbose_cc, |
