summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-04-21 12:21:55 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-04-21 12:21:55 (EDT)
commitf75a177028fa974947f07c7ccd8c7471f3f54a65 (patch)
tree795a9f997b4a58b5bf1d7c818fc7b9e1abefbe94
parent0225a6970617dc63416a5a9cf1d566823c52b4a4 (diff)
build: Put libgcc_s.so.1 under /lib.
-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