[oe] [PATCH] cross.bbclass: Fix many QA RPATH errors for distros preferring libtool-2.2
Khem Raj
raj.khem at gmail.com
Sun Feb 20 01:23:10 UTC 2011
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
>
> Eric
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
-Khem
More information about the Openembedded-devel
mailing list