diff options
author | P. J. McDermott <pjm@nac.net> | 2013-04-21 12:44:31 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-04-21 12:44:31 (EDT) |
commit | 1b3b553b8063ea76b24dea031b0b42cb56559133 (patch) | |
tree | 21d28817b55696b1c7f29c8d620562507807cf12 /build | |
parent | 52cc1a6f25532715089ba192eeae7c3d7d869b5a (diff) |
build: Put .so links in versioned directories.
Diffstat (limited to 'build')
-rwxr-xr-x | build | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -76,11 +76,25 @@ 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 + # Move libgcc_s.so.1 under /lib. mkdir -p dest/lib/$(OPK_HOST_ARCH) mv dest/usr/lib/$(OPK_HOST_ARCH)/libgcc_s.so.1 dest/lib/$(OPK_HOST_ARCH) + # Move libgcc_s.so link. 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)/gcc-$(BASE_VERSION)/libgcc_s.so + # Move libquadmath.so link. + 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 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 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 # POSIX.1-2008: # If the pathname does not begin with a '/' it shall be treated as relative to |