Revert "ignore target lib dirs when invoked with -feach-lib-rpath"
This reverts commit 3701697a0a.
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user