Source-Changes-HG archive

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

[src/trunk]: src/libexec/ld.elf_so provide debug symlink.



details:   https://anonhg.NetBSD.org/src/rev/c06a06d4430f
branches:  trunk
changeset: 786748:c06a06d4430f
user:      christos <christos%NetBSD.org@localhost>
date:      Wed May 08 15:33:45 2013 +0000

description:
provide debug symlink.

diffstat:

 libexec/ld.elf_so/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 008a28659c54 -r c06a06d4430f libexec/ld.elf_so/Makefile
--- a/libexec/ld.elf_so/Makefile        Wed May 08 15:25:01 2013 +0000
+++ b/libexec/ld.elf_so/Makefile        Wed May 08 15:33:45 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.118 2013/05/06 22:49:10 christos Exp $
+#      $NetBSD: Makefile,v 1.119 2013/05/08 15:33:45 christos Exp $
 #
 # NOTE: when changing ld.so, ensure that ldd still compiles.
 #
@@ -150,6 +150,10 @@
 
 .if ${SHLINKINSTALLDIR} != "/usr/libexec"
 SYMLINKS+=     ${SHLINKINSTALLDIR}/${PROG} /usr/libexec/${PROG}
+.if ${MKDEBUG} != "no"
+SYMLINKS+=     ${DESTDIR}${DEBUGDIR}${BINDIR}/${PROG}.debug \
+               ${DESTDIR}${DEBUGDIR}/usr${BINDIR}/${PROG}.debug
+.endif
 .endif
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index