[oe] [PATCH] cross.bbclass: Fix many QA RPATH errors for distros preferring libtool-2.2
Eric Benard
eric at eukrea.com
Sat Feb 19 12:11:56 UTC 2011
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.
Eric
More information about the Openembedded-devel
mailing list