summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-package.inc
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-12-30 20:39:16 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-12-30 20:39:16 +0000
commit27bf4e40e7761692d31dbdd8fca46a0a7bed2c50 (patch)
tree11327b389af57ac1b8fbb2eb12b11823d7de833b /packages/gcc/gcc-package.inc
parent992f2a1f77cf17dc047582e8d4cace033063b7d7 (diff)
parent22a748afe0ab98982ba2bdb09343ccf1b2d58e3f (diff)
merge of '66515f98e31cf98acf25d9bfff293b724c9f4ee9'
and '80fc38ee9d6f114931833ab38ed2ca078ea5e043'
Diffstat (limited to 'packages/gcc/gcc-package.inc')
-rw-r--r--packages/gcc/gcc-package.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/gcc/gcc-package.inc b/packages/gcc/gcc-package.inc
index 96f1604997..d1b4607de5 100644
--- a/packages/gcc/gcc-package.inc
+++ b/packages/gcc/gcc-package.inc
@@ -92,7 +92,11 @@ do_install () {
# Move libgcc_s into /lib
mkdir -p ${D}${base_libdir}
- mv ${D}${libdir}/libgcc_s.so.* ${D}${base_libdir}
+ if [ -f ${D}${libdir}/nof/libgcc_s.so ]; then
+ mv ${D}${libdir}/nof/libgcc_s.so.* ${D}${base_libdir}
+ else
+ mv ${D}${libdir}/libgcc_s.so.* ${D}${base_libdir}
+ fi
rm -f ${D}${libdir}/libgcc_s.so
ln -sf `echo ${libdir}/gcc/${TARGET_SYS}/${BINV} \
| tr -s / \