aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorGordon Tetlow <gordon@FreeBSD.org>2003-08-17 18:59:30 +0000
committerGordon Tetlow <gordon@FreeBSD.org>2003-08-17 18:59:30 +0000
commitdbbcd515ff1436267d9cf11973aef89a78ace7bc (patch)
treee2748d606bdc2b84d40d5c8eada8eca40c67f86b /libexec
parentec7948490b16d2ddffe41c1d3b2127d98d553157 (diff)
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
index 4d3b9683b6785..bd33bd23fe863 100644
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -10,7 +10,7 @@ CFLAGS+= -I${.CURDIR}/${MACHINE_ARCH} -I${.CURDIR}
LDFLAGS+= -nostdlib -e .rtld_start
INSTALLFLAGS= -fschg -C -b
BINDIR= /libexec
-SYMLINKS= ${BINDIR}/ld-elf.so.1 /usr/libexec/ld-elf.so.1
+SYMLINKS= ${BINDIR}/ld-elf.so.1 /usr/libexec/${PROG}
MLINKS= rtld.1 ld-elf.so.1.1 \
rtld.1 ld.so.1
@@ -55,7 +55,7 @@ dyn_hack.so:
# Since moving rtld-elf to /libexec, we need to create a symlink.
# Fixup the existing binary that's there so we can symlink over it.
beforeinstall:
- -chflags noschg /usr/libexec/ld-elf.so.1
+ -chflags noschg ${DESTDIR}/usr/libexec/${PROG}
.PATH: ${.CURDIR}/${MACHINE_ARCH}