]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
ld: -rpath must search under sysroot
authorAndy Ross <andy.ross@windriver.com>
Thu, 23 Aug 2012 17:32:31 +0000 (17:32 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Aug 2012 16:25:14 +0000 (17:25 +0100)
commit8592e828261fb4a48b8156e11b5859d38aeb403f
treed6c600c9df64213a496ba2690fa53e8b5006ddfd
parentfed844ed2f558d5da68b0b1fd707bc201b9e5821
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>
meta/recipes-devtools/binutils/binutils-2.22.inc
meta/recipes-devtools/binutils/binutils/rpath-sysroot.patch [new file with mode: 0644]