summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-04-21 12:48:55 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-04-21 12:48:55 (EDT)
commit71af3c6e9b4438f9b45350b01e41d512f670bfa4 (patch)
treea12da8b71c45d86c57979f6762e95cbd94bae84a /build
parent1b3b553b8063ea76b24dea031b0b42cb56559133 (diff)
build: Put static libs in versioned directories.
Diffstat (limited to 'build')
-rwxr-xr-xbuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/build b/build
index 8d0e28f..83e546a 100755
--- a/build
+++ b/build
@@ -87,14 +87,23 @@ install: build
rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libquadmath.so
ln -sf /usr/lib/$(OPK_HOST_ARCH)/libquadmath.so.0 \
dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/libquadmath.so
+ # Move libquadmath.a.
+ mv dest/usr/lib/$(OPK_HOST_ARCH)/libquadmath.a \
+ dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/
# Move libgomp.so link.
rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libgomp.so
ln -sf /usr/lib/$(OPK_HOST_ARCH)/libgomp.so.1 \
dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/libgomp.so
+ # Move libgomp.a.
+ mv dest/usr/lib/$(OPK_HOST_ARCH)/libgomp.a \
+ dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/
# Move libitm.so link.
rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libitm.so
ln -sf /usr/lib/$(OPK_HOST_ARCH)/libitm.so.1 \
dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/libitm.so
+ # Move libitm.a.
+ mv dest/usr/lib/$(OPK_HOST_ARCH)/libitm.a \
+ dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/
# POSIX.1-2008:
# If the pathname does not begin with a '/' it shall be treated as relative to