From ea0694a86d7e31981589aa3e9c8aed9bcb5e61a9 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sun, 30 Dec 2007 12:45:51 +0000 Subject: gcc-package.inc: fix the powerpc 'nof' problem for native gcc as well --- packages/gcc/gcc-package.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 / \ -- cgit v1.2.3