diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-06-27 23:28:56 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-06-27 23:28:56 +0000 |
commit | af38028d111e5f45fffdb4d0b7ec46e20a4d149d (patch) | |
tree | 6969ca1c23c2a0bae172b66855a7de96c02cbde4 /share/mk/bsd.lib.mk | |
parent | 8c4b4cc3ba98fcbec2329f928515aab3e16c0cf5 (diff) | |
download | src-af38028d111e5f45fffdb4d0b7ec46e20a4d149d.tar.gz src-af38028d111e5f45fffdb4d0b7ec46e20a4d149d.zip |
Make all shared library a relative symlink
This makes sysroot usable for cross building, it also removes the need for
_SHLIBDIRPREFIX (keeps its definition since picobsd uses it and I have no time
to test it)
Differential Revision: https://reviews.freebsd.org/D2920
Submitted by: imp, adrian
Tested by: adrian
Notes
Notes:
svn path=/head/; revision=284898
Diffstat (limited to 'share/mk/bsd.lib.mk')
-rw-r--r-- | share/mk/bsd.lib.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index f70cc95d2553..b8159ded23fc 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -362,7 +362,7 @@ _libinstall: .if ${_SHLIBDIR} == ${_LIBDIR} ${INSTALL_SYMLINK} ${SHLIB_NAME} ${DESTDIR}${_LIBDIR}/${SHLIB_LINK} .else - ${INSTALL_SYMLINK} ${_SHLIBDIRPREFIX}${_SHLIBDIR}/${SHLIB_NAME} \ + ${INSTALL_RSYMLINK} ${DESTDIR}${_SHLIBDIR}/${SHLIB_NAME} \ ${DESTDIR}${_LIBDIR}/${SHLIB_LINK} .if exists(${DESTDIR}${_LIBDIR}/${SHLIB_NAME}) -chflags noschg ${DESTDIR}${_LIBDIR}/${SHLIB_NAME} |