From patchwork Fri Oct 5 10:22:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: cross-canadian.bbclass: add native chrpath dependency Date: Fri, 05 Oct 2012 10:22:27 -0000 From: Laurentiu Palcu X-Patchwork-Id: 37807 Message-Id: <1349432547-23974-1-git-send-email-laurentiu.palcu@intel.com> To: openembedded-core@lists.openembedded.org In order for the RPATHs in 32bit toolchain binaries to be relocated properly, chrpath >=0.14 is needed. [YOCTO #3161] [YOCTO #3201] Signed-off-by: Laurentiu Palcu --- meta/classes/cross-canadian.bbclass | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index aec7301..47fb0ab 100644 --- a/meta/classes/cross-canadian.bbclass +++ b/meta/classes/cross-canadian.bbclass @@ -54,6 +54,13 @@ LDFLAGS = "${BUILDSDK_LDFLAGS} \ DEPENDS_GETTEXT = "gettext-native nativesdk-gettext" +# +# We need chrpath >= 0.14 to ensure we can deal with 32 and 64 bit +# binaries +# +DEPENDS_append = " chrpath-replacement-native" +EXTRANATIVEPATH += "chrpath-native" + # Path mangling needed by the cross packaging # Note that we use := here to ensure that libdir and includedir are # target paths.