From baf69e6a929344368284128038959228e073ed7a Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 15 Jul 2010 10:19:12 +0100 Subject: binutils/gcc-crosssdk: Fix hardcoded path layout assumptions for cross toolchains Signed-off-by: Richard Purdie --- meta/packages/binutils/binutils-crosssdk_2.20.1.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/packages/binutils') diff --git a/meta/packages/binutils/binutils-crosssdk_2.20.1.bb b/meta/packages/binutils/binutils-crosssdk_2.20.1.bb index 8a9275003..f3bc5bfc2 100644 --- a/meta/packages/binutils/binutils-crosssdk_2.20.1.bb +++ b/meta/packages/binutils/binutils-crosssdk_2.20.1.bb @@ -4,9 +4,9 @@ inherit crosssdk PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk" -PR = "r1" +PR = "r3" do_configure_prepend () { - sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATH}/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt + sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATHNATIVE}/lib ${SDKPATHNATIVE}/usr/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt } -- cgit v1.2.3