diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-09-09 00:03:53 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-09-09 00:07:02 -0700 |
| commit | c7d6048081053c2852d4d3af5d549d83473f808c (patch) | |
| tree | 8211b4014b632b53673d7d48fca5663d1890156e /src/codegen/llvm.zig | |
| parent | 9f40f34501ef086d18e4570416c078a7ad508628 (diff) | |
| download | zig-c7d6048081053c2852d4d3af5d549d83473f808c.tar.gz zig-c7d6048081053c2852d4d3af5d549d83473f808c.zip | |
std.zig.system.NativeTargetInfo: add fallback check
After failing to find RUNPATH in the ELF of /usr/bin/env, not finding
the answer in a symlink of the dynamic interpreter, and not finding
libc.so.6 in the same directory as the dynamic interpreter, Zig will
check `/lib/$triple`.
This fixes incorrect native glibc version detected on Debian bookworm.
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions
