diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-09-08 20:26:58 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-09-08 20:52:49 -0700 |
| commit | c668396941f19a5c015014822d980bbe9f2bc585 (patch) | |
| tree | 659e3bbd754cdf453f1e716de667474275265853 /src/codegen/llvm.zig | |
| parent | 1b6fa1965a5472d9bc9e3140d052bde0fb949fe1 (diff) | |
| download | zig-c668396941f19a5c015014822d980bbe9f2bc585.tar.gz zig-c668396941f19a5c015014822d980bbe9f2bc585.zip | |
std.zig.system.NativeTargetInfo: handle missing DT_RUNPATH
This commit removes the check that takes advantage of when the dynamic
linker is a symlink. Instead, it falls back on the same directory as the
dynamic linker as a de facto runpath. Empirically, this gives correct
results on Gentoo and NixOS.
Unfortunately it is still falling short for Debian, which has libc.so.6
in a different directory as the dynamic linker.
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions
