mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 18:32:12 +02:00
llvm: handle libdir in llvm-config
The llvm-config wrapper also needs to override a --libdir switch, otherwise software (like mesa) end up using TMPDIR-based directory for Clang resource lookup (and also encoding TMPDIR into the target binary). (From OE-Core rev: c804ef9516d840e9bef717b6add77783a21a443a) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bb44b98827
commit
e6a528d4d2
@@ -35,6 +35,9 @@ for arg in "$@"; do
|
||||
--libs)
|
||||
output="${output} -lLLVM"
|
||||
;;
|
||||
--libdir)
|
||||
output="${output} ${libdir}"
|
||||
;;
|
||||
--link-shared)
|
||||
break
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user