summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2012-12-04 12:39:26 +0000
committerpjd <pjd@FreeBSD.org>2012-12-04 12:39:26 +0000
commit82729d86f3edb1ec276413f1487796e84464726c (patch)
treec627c4e7069b8da75c5c30657d45712eb625edce /libexec
parentca0235c9502df6e25f0f8b61929dea4ddd8ce279 (diff)
downloadFreeBSD-src-82729d86f3edb1ec276413f1487796e84464726c.zip
FreeBSD-src-82729d86f3edb1ec276413f1487796e84464726c.tar.gz
Change /usr/libexec/ld-elf.so.1 to point at ../../libexec/ld-elf.so.1
instead of /libexec/ld-elf.so.1. Below in the Makefile we execute 'chflags noschg ${DESTDIR}/usr/libexec/ld-elf.so.1', which follows symlink and removes 'schg' flag from system's /libexec/ld-elf.so.1 instead of the one in DESTDIR. It is also more friendly to use replative paths in symlink in case of jail/chroot environments. Obtained from: WHEEL Systems MFC after: 2 weeks
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
index 80737e8..487a098 100644
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -27,7 +27,7 @@ LDFLAGS+= -nostdlib -e .rtld_start
WARNS?= 2
INSTALLFLAGS= -C -b
PRECIOUSPROG=
-BINDIR= /libexec
+BINDIR= ../../libexec
SYMLINKS= ${BINDIR}/${PROG} /usr/libexec/${PROG}
MLINKS= rtld.1 ld-elf.so.1.1 \
rtld.1 ld.so.1
OpenPOWER on IntegriCloud