[oe] [PATCH] cross.bbclass: Fix many QA RPATH errors for distros preferring libtool-2.2

Tom Rini tom_rini at mentor.com
Tue Feb 22 01:44:41 UTC 2011


On 02/19/2011 06:23 PM, Khem Raj wrote:
> On (19/02/11 13:11), Eric Benard wrote:
>> Hi Andreas,
>>
>>> index 1a6d906..50c0f63 100644
>>> --- a/classes/cross.bbclass
>>> +++ b/classes/cross.bbclass
>>> @@ -75,6 +75,6 @@ sysroot_stage_all() {
>>>
>>>   #
>>>   # Cross .la files have more path issues we have to correct only for libtool<   2.4
>>> -SYSROOTEXTRALIBDIRSED_OLD = " -e \"/^libdir=/s,.*,libdir=${STAGING_DIR_TARGET}${target_libdir},g\" -e \"/^dependency_libs=/s,\([[:space:]']\)-L${STAGING_LIBDIR_NATIVE},,g\""
>>> +SYSROOTEXTRALIBDIRSED_OLD = " -e \"/^libdir=/s,.*,libdir=${target_libdir},g\" -e \"/^dependency_libs=/s,\([[:space:]']\)-L${STAGING_LIBDIR_NATIVE},,g\""
>>>
>>>   SYSROOTEXTRALIBDIRSED = "${@["${SYSROOTEXTRALIBDIRSED_OLD}",""][("${LIBTOOL_HAS_SYSROOT}" == "yes")]}"
>>
>> I was just finishing to test a similar fix and this seems to be the
>> right direction. Now testing your fix which is cleaner.
>
> Also try meta-toolchain targets

I'm kicking off a subset of my normal matrix with this change applied 
and hope to report back results in the morning (-0700).

-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-devel mailing list