mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 18:49:33 +02:00
ld: -rpath must search under sysroot
The -rpath argument would search the host filesystem for libraries, even when a sysroot was defined. For cross toolchains with targets compatible with the host architecture this can find incorrect libraries. Leave -rpath-link unmodified, as build systems in the wild are already using this to point to host directories. [YOCTO #2965] (From OE-Core rev: bccea580f1abb762d231f785a4e60c9cd368dcdf) Signed-off-by: Andy Ross <andy.ross@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fed844ed2f
commit
8592e82826
@@ -1,4 +1,4 @@
|
||||
PR = "r14"
|
||||
PR = "r15"
|
||||
|
||||
LIC_FILES_CHKSUM="\
|
||||
file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\
|
||||
@@ -31,6 +31,7 @@ SRC_URI = "\
|
||||
file://binutils-armv5e.patch \
|
||||
file://mips64-default-ld-emulation.patch \
|
||||
file://0001-PR-ld-13470.patch \
|
||||
file://rpath-sysroot.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "ee0f10756c84979622b992a4a61ea3f5"
|
||||
|
||||
Reference in New Issue
Block a user