diff options
| author | Jari Vetoniemi <jari.vetoniemi@cloudef.pw> | 2024-03-20 18:09:36 +0900 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-08-24 05:32:53 -0700 |
| commit | 2d7c26cc66facc401b37c26cb17bbae1da00d170 (patch) | |
| tree | e46ecd9beaf22c0e80c24c1891377ef6822469ed /test/cases/compile_errors/invalid_pointer_arithmetic.zig | |
| parent | 9374725088fa077b61d819ed36341b20f8f3bcf7 (diff) | |
| download | zig-2d7c26cc66facc401b37c26cb17bbae1da00d170.tar.gz zig-2d7c26cc66facc401b37c26cb17bbae1da00d170.zip | |
ElfDynLib: resolve lib from system paths
Implements the base that should usually work that is
- Check LD_LIBRARY_PATH if the binary is no setuid setgid binary
- Check /lib, /usr/lib, in that order
The missing parts are:
- DT_RPATH and DT_RUNPATH handling from the calling executable
- Reading /etc/ld.so.cache
For more details check man page of dlopen(3)
Diffstat (limited to 'test/cases/compile_errors/invalid_pointer_arithmetic.zig')
0 files changed, 0 insertions, 0 deletions
