external-sourcery-toolchain.bb : copy locale from /lib if not present in /lib64

Note from kergoth: this is a temporary build fix, likely not an ideal fix for
the underlying problem.

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
This commit is contained in:
mshakeel
2012-09-20 19:08:05 +05:00
committed by Christopher Larson
parent 72ff116b8e
commit cfb95284db

View File

@@ -42,6 +42,11 @@ do_install() {
cp -a $usr_path ${D}/usr/
done
# Copy locale directory if not already present in libdir
if [ ! -d ${D}${libdir}/locale ]; then
cp -a $sysroot/usr/lib/locale ${D}${libdir}
fi
for datadir_element in man info; do
datadir_path=$sysroot/usr/$datadir_element
if [ -e $datadir_path ]; then