Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Also use relative symlinks for the /usr/lib/lib${LI...



details:   https://anonhg.NetBSD.org/src/rev/3366a8c02aff
branches:  trunk
changeset: 580829:3366a8c02aff
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue May 10 14:54:02 2005 +0000

description:
Also use relative symlinks for the /usr/lib/lib${LIB}.so.${SHLIB_FULLVERSION}
symlink to ../../lib/... because runtime lookups on the former aren't
speed critical either.

diffstat:

 share/mk/bsd.lib.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 88a1669830de -r 3366a8c02aff share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk       Tue May 10 13:15:56 2005 +0000
+++ b/share/mk/bsd.lib.mk       Tue May 10 14:54:02 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.lib.mk,v 1.260 2005/05/10 02:01:06 lukem Exp $
+#      $NetBSD: bsd.lib.mk,v 1.261 2005/05/10 14:54:02 lukem Exp $
 #      @(#)bsd.lib.mk  8.3 (Berkeley) 4/22/94
 
 .include <bsd.init.mk>
@@ -583,7 +583,7 @@
                ${SYSPKGTAG} ${.ALLSRC} ${.TARGET}
 .if ${_LIBSODIR} != ${LIBDIR}
        ${INSTALL_SYMLINK} ${SYSPKGTAG} \
-               ${_LIBSODIR}/lib${LIB}.so.${SHLIB_FULLVERSION} \
+               -l r ${DESTDIR}${_LIBSODIR}/lib${LIB}.so.${SHLIB_FULLVERSION} \
                ${DESTDIR}${LIBDIR}/lib${LIB}.so.${SHLIB_FULLVERSION}
 .endif
 .if ${OBJECT_FMT} == "a.out" && !defined(DESTDIR)



Home | Main Index | Thread Index | Old Index