diff options
| author | Ganesan Rajagopal <rganesan@gmail.com> | 2022-12-05 16:17:19 +0530 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2023-03-19 17:42:27 +0100 |
| commit | 30aeb41a19d3ac15c89190cd546cbe7c05c60ac8 (patch) | |
| tree | 541225ae59e2494310f2da5739498e6c49517179 /src/codegen | |
| parent | 2fce991d2ab1dfc6d591b560607ef0edecc7db19 (diff) | |
| download | zig-30aeb41a19d3ac15c89190cd546cbe7c05c60ac8.tar.gz zig-30aeb41a19d3ac15c89190cd546cbe7c05c60ac8.zip | |
Fix linker segfault adding rpath to sharedlib
If the shared library is a relative path, dirname will return null causing a segfault. In the case I debugged, the current directory was already in RPATH so just ignoring this case seems a reasonable fix. After this fix "make" and "make test" pass for mimalloc.
Closes #13766
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
