Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Install shlibdir debug links
details: https://anonhg.NetBSD.org/src/rev/9d8a87d068be
branches: trunk
changeset: 786004:9d8a87d068be
user: christos <christos%NetBSD.org@localhost>
date: Thu Apr 11 01:27:47 2013 +0000
description:
Install shlibdir debug links
diffstat:
share/mk/bsd.lib.mk | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r 57ccc4597a70 -r 9d8a87d068be share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk Thu Apr 11 01:27:46 2013 +0000
+++ b/share/mk/bsd.lib.mk Thu Apr 11 01:27:47 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.lib.mk,v 1.333 2013/04/04 21:15:15 christos Exp $
+# $NetBSD: bsd.lib.mk,v 1.334 2013/04/11 01:27:47 christos Exp $
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
.include <bsd.init.mk>
@@ -444,6 +444,7 @@
_DEST.OBJ:=${DESTDIR}${_LIBSODIR}
_DEST.LINT:=${DESTDIR}${LINTLIBDIR}
_DEST.DEBUG:=${DESTDIR}${DEBUGDIR}${LIBDIR}
+_DEST.ODEBUG:=${DESTDIR}${DEBUGDIR}${_LIBSODIR}
.if defined(LIB) # {
.if (${MKPIC} == "no" || (defined(LDSTATIC) && ${LDSTATIC} != "") \
@@ -839,6 +840,10 @@
${_MKTARGET_INSTALL}
${INSTALL_FILE} -o ${DEBUGOWN} -g ${DEBUGGRP} -m ${DEBUGMODE} \
${.ALLSRC} ${.TARGET}
+.if ${_LIBSODIR} != ${LIBDIR}
+ ${INSTALL_SYMLINK} -l r ${_DEST.DEBUG}/${_LIB.so.debug} \
+ ${_DEST.ODEBUG}/${_LIB.so.debug}
+.endif
.endif
.if ${MKLINT} != "no" && !empty(LOBJS)
Home |
Main Index |
Thread Index |
Old Index