summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-07-14 17:40:21 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-14 17:40:21 +0100
commit8fe2bb0123bbf5096f33caa3c06de9a62f97d5ea (patch)
treec3231b66eca313256069e5adac47b5dab74eff51
parentf9262fabad55217eaeb0d19c9350100fa92b46c4 (diff)
downloadopenembedded-core-8fe2bb0123bbf5096f33caa3c06de9a62f97d5ea.tar.gz
openembedded-core-8fe2bb0123bbf5096f33caa3c06de9a62f97d5ea.tar.bz2
openembedded-core-8fe2bb0123bbf5096f33caa3c06de9a62f97d5ea.zip
glibc: Ensure libc is built in the correct directory by setting slibdir
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/packages/glibc/glibc_2.10.1.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/packages/glibc/glibc_2.10.1.bb b/meta/packages/glibc/glibc_2.10.1.bb
index 17cb078068..2a118a4af6 100644
--- a/meta/packages/glibc/glibc_2.10.1.bb
+++ b/meta/packages/glibc/glibc_2.10.1.bb
@@ -74,6 +74,9 @@ SRC_URI_append_powerpc= " file://powerpc-sqrt-hack.diff"
S = "${WORKDIR}/glibc-${PV}"
B = "${WORKDIR}/build-${TARGET_SYS}"
+# We need this for nativesdk
+export libc_cv_slibdir = "${base_libdir}"
+
EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
--without-cvs --disable-profile --disable-debug --without-gd \
--enable-clocale=gnu \