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.
c668396941Andrew Kelley committed on 9/9/2022, 3:52:49 AMparent1b6fa19
1 file changedLine totals unavailable