mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 00:08:56 +00:00
Revert "ignore target lib dirs when invoked with -feach-lib-rpath"
This reverts commit 3701697a0a586e630a2452dea29951f0051a47fd. The commit introduced a regression when building stage2 on nixOS where the linker would fail to find relevant LLVM dynamic libraries as some search dirs were missing.
This commit is contained in:
parent
3701697a0a
commit
b74f292410
@ -2197,6 +2197,10 @@ fn buildOutputType(
|
||||
clang_argv.appendAssumeCapacity(framework_dir);
|
||||
framework_dirs.appendAssumeCapacity(framework_dir);
|
||||
}
|
||||
|
||||
for (paths.lib_dirs.items) |lib_dir| {
|
||||
try lib_dirs.append(lib_dir);
|
||||
}
|
||||
for (paths.rpaths.items) |rpath| {
|
||||
try rpath_list.append(rpath);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user