Module Name:    src
Committed By:   christos
Date:           Wed May  8 15:33:45 UTC 2013

Modified Files:
        src/libexec/ld.elf_so: Makefile

Log Message:
provide debug symlink.


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 src/libexec/ld.elf_so/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/libexec/ld.elf_so/Makefile
diff -u src/libexec/ld.elf_so/Makefile:1.118 src/libexec/ld.elf_so/Makefile:1.119
--- src/libexec/ld.elf_so/Makefile:1.118	Mon May  6 18:49:10 2013
+++ src/libexec/ld.elf_so/Makefile	Wed May  8 11:33:45 2013
@@ -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 @@ _PROGDEBUG.${PROG} := ${PROG}.debug
 
 .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>

Reply via email to