summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/build b/build
index f0e2138..f217ec1 100755
--- a/build
+++ b/build
@@ -76,6 +76,11 @@ install: build
fincludedir=/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/finclude \
toolexeclibdir=/usr/lib/$(OPK_HOST_ARCH) MULTIOSDIR=
rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libiberty.a
+ mkdir -p dest/lib/$(OPK_HOST_ARCH)
+ mv dest/usr/lib/$(OPK_HOST_ARCH)/libgcc_s.so.1 dest/lib/$(OPK_HOST_ARCH)
+ rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libgcc_s.so
+ ln -sf /lib/$(OPK_HOST_ARCH)/libgcc_s.so.1 \
+ dest/usr/lib/$(OPK_HOST_ARCH)/libgcc_s.so
# POSIX.1-2008:
# If the pathname does not begin with a '/' it shall be treated as relative to