summaryrefslogtreecommitdiff
path: root/packages/glibc/glibc-package.bbclass
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2007-09-15 13:12:59 +0000
committerPhilipp Zabel <philipp.zabel@gmail.com>2007-09-15 13:12:59 +0000
commitdcdf8689c0589d5f18dd5770b4c8a2e8af09696a (patch)
treef95362f551b887309da5a39d0fe746ebe9f58a19 /packages/glibc/glibc-package.bbclass
parenteb968b7b4d2633cd9d3a952d0f6bfa11e7ba8f63 (diff)
glibc-package.bbclass: fix do_prep_locale_tree
* there are both libgcc_s.so and libgcc_s.so.${someversion} in ${CROSS_DIR}/${TARGET_SYS}/lib
Diffstat (limited to 'packages/glibc/glibc-package.bbclass')
-rw-r--r--packages/glibc/glibc-package.bbclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/glibc/glibc-package.bbclass b/packages/glibc/glibc-package.bbclass
index 63feb46f34..ba105d02c3 100644
--- a/packages/glibc/glibc-package.bbclass
+++ b/packages/glibc/glibc-package.bbclass
@@ -147,8 +147,11 @@ do_prep_locale_tree() {
gunzip $i
done
ls ${D}/lib/* | xargs -iBLAH cp -a BLAH $treedir/lib
- if [ -f ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.* ]; then
- cp -a ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.* $treedir/lib
+ if [ -f ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so ]; then
+ cp -a ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so $treedir/lib
+ fi
+ if [ -f ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so.* ]; then
+ cp -a ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so.* $treedir/lib
fi
install -m 0755 ${D}${bindir}/localedef $treedir/bin
}