gcc-package-cross: Cope with lib64 binaries
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
00127b3744
commit
31a82c65ae
|
@ -25,9 +25,10 @@ do_install () {
|
||||||
:
|
:
|
||||||
elif [ -f ${D}${prefix}/lib/libgcc_s.so.? ]; then
|
elif [ -f ${D}${prefix}/lib/libgcc_s.so.? ]; then
|
||||||
mv -f ${D}${prefix}/lib/libgcc_s.so* ${D}${target_base_libdir} || true
|
mv -f ${D}${prefix}/lib/libgcc_s.so* ${D}${target_base_libdir} || true
|
||||||
|
|
||||||
elif [ -f ${D}${prefix}/*/lib/nof/libgcc_s.so.? ]; then
|
elif [ -f ${D}${prefix}/*/lib/nof/libgcc_s.so.? ]; then
|
||||||
mv -f ${D}${prefix}/*/lib/nof/libgcc_s.so* ${D}${target_base_libdir}
|
mv -f ${D}${prefix}/*/lib/nof/libgcc_s.so* ${D}${target_base_libdir}
|
||||||
|
elif [ -f ${D}${prefix}/*/lib64/libgcc_s.so.? ]; then
|
||||||
|
mv -f ${D}${prefix}/*/lib64/libgcc_s.so* ${D}${target_base_libdir} || true
|
||||||
else
|
else
|
||||||
mv -f ${D}${prefix}/*/lib/libgcc_s.so* ${D}${target_base_libdir} || true
|
mv -f ${D}${prefix}/*/lib/libgcc_s.so* ${D}${target_base_libdir} || true
|
||||||
fi
|
fi
|
||||||
|
@ -43,7 +44,11 @@ do_install () {
|
||||||
mv -f ${D}${prefix}/*/lib/nof/libg2c.so* ${D}${target_libdir} || true
|
mv -f ${D}${prefix}/*/lib/nof/libg2c.so* ${D}${target_libdir} || true
|
||||||
mv -f ${D}${prefix}/*/lib/nof/libgfortran*.so* ${D}${target_libdir} || true
|
mv -f ${D}${prefix}/*/lib/nof/libgfortran*.so* ${D}${target_libdir} || true
|
||||||
mv -f ${D}${prefix}/*/lib/nof/libssp*.so* ${D}${target_libdir} || true
|
mv -f ${D}${prefix}/*/lib/nof/libssp*.so* ${D}${target_libdir} || true
|
||||||
|
elif [ -f ${D}${prefix}/*/lib64/libstdc++.so ]; then
|
||||||
|
mv -f ${D}${prefix}/*/lib64/libstdc++.so* ${D}${target_libdir} || true
|
||||||
|
mv -f ${D}${prefix}/*/lib64/libg2c.so* ${D}${target_libdir} || true
|
||||||
|
mv -f ${D}${prefix}/*/lib64/libgfortran*.so* ${D}${target_libdir} || true
|
||||||
|
mv -f ${D}${prefix}/*/lib64/libssp*.so* ${D}${target_libdir} || true
|
||||||
else
|
else
|
||||||
mv -f ${D}${prefix}/*/lib/libstdc++.so* ${D}${target_libdir} || true
|
mv -f ${D}${prefix}/*/lib/libstdc++.so* ${D}${target_libdir} || true
|
||||||
mv -f ${D}${prefix}/*/lib/libg2c.so* ${D}${target_libdir} || true
|
mv -f ${D}${prefix}/*/lib/libg2c.so* ${D}${target_libdir} || true
|
||||||
|
@ -51,8 +56,6 @@ do_install () {
|
||||||
mv -f ${D}${prefix}/*/lib/libssp*.so* ${D}${target_libdir} || true
|
mv -f ${D}${prefix}/*/lib/libssp*.so* ${D}${target_libdir} || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Manually run the target stripper since we won't get it run by
|
# Manually run the target stripper since we won't get it run by
|
||||||
# the packaging.
|
# the packaging.
|
||||||
if [ "x${OLD_INHIBIT_PACKAGE_STRIP}" != "x1" ]; then
|
if [ "x${OLD_INHIBIT_PACKAGE_STRIP}" != "x1" ]; then
|
||||||
|
|
Loading…
Reference in New Issue