]> code.ossystems Code Review - openembedded-core.git/commitdiff
cross-canadian: Fix SHLIBSDIR when using multilib
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Oct 2013 13:40:35 +0000 (14:40 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Oct 2013 12:27:56 +0000 (13:27 +0100)
Both nativesdk and multilib use MLPREFIX for their partciular purposes. When
we have both set, cross-canadian can confuse SHLIBSDIR. This forces the
variable to the correct value for cross-canadian, fixing toolchains in
multilib builds.

[YOCTO #5333]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cross-canadian.bbclass

index 4387d05f78c4df148cec0635be10e426c565d20d..7181c60d5fc95a9b584869b6a2388e79a2dfe954 100644 (file)
@@ -95,3 +95,8 @@ USE_NLS = "${SDKUSE_NLS}"
 # We have to us TARGET_ARCH but we care about the absolute value
 # and not any particular tune that is enabled.
 TARGET_ARCH[vardepsexclude] = "TUNE_ARCH"
+
+# If MLPREFIX is set by multilib code, shlibs
+# points to the wrong place so force it
+SHLIBSDIRS = "${PKGDATA_DIR}/nativesdk-shlibs"
+SHLIBSWORKDIR = "${PKGDATA_DIR}/nativesdk-shlibs"