external-sourcery-toolchain: Fix installation of lib/locale.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
This commit is contained in:
Drew Moseley
2014-06-02 16:22:59 -04:00
committed by Christopher Larson
parent bb1f4479e7
commit e6d1973abe

View File

@@ -42,7 +42,7 @@ do_install() {
cp -a $usr_path ${D}/usr/
fi
done
if [ "${base_libdir}" != "lib" ]; then
if [ "${base_libdir}" != "/lib" ]; then
if [ -d $sysroot/usr/lib/locale ]; then
install -d ${D}/usr/lib
cp -a $sysroot/usr/lib/locale ${D}/usr/lib/