package.bbclass: change RPATHs for cross-canadian binaries
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Fri, 17 Aug 2012 10:38:10 +0000 (13:38 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 17 Aug 2012 12:06:42 +0000 (13:06 +0100)
commitb2b0402f5899423cee1098e12c87c9a4df94fe4e
treee3a0a0844f2c4ad7c4c0db69af42286d4b098110
parentc943c04bd9e5ba6b7720d745e712916f5c3b3342
package.bbclass: change RPATHs for cross-canadian binaries

When building the meta-toolchain, the binaries didn't get relocatable
RPATHs. They were hardcoded to the default path. Hence, if one had
already installed one SDK in the default path and one in another
location, the later toolchain's binaries would search and load libraries
from the first location, ending in a "Segmentation Fault".

[YOCTO #2927]

(From OE-Core rev: b40a03c43d5d9d738a9aa5b43b2ecfe74fc95018)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass