aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-09-08 20:26:58 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-09-08 20:52:49 -0700
commitc668396941f19a5c015014822d980bbe9f2bc585 (patch)
tree659e3bbd754cdf453f1e716de667474275265853 /src/codegen
parent1b6fa1965a5472d9bc9e3140d052bde0fb949fe1 (diff)
downloadzig-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')
0 files changed, 0 insertions, 0 deletions