summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/Makefile
diff options
context:
space:
mode:
authorschweikh <schweikh@FreeBSD.org>2004-11-14 12:47:20 +0000
committerschweikh <schweikh@FreeBSD.org>2004-11-14 12:47:20 +0000
commitd2fd075432aa84aea994ebaac3d48179c4a7df0d (patch)
treee1922bb115b59af0deb9b92897d89457ce2a489d /libexec/rtld-elf/Makefile
parent39a0a1611e959bdd12cc34509e29015a39541f62 (diff)
downloadFreeBSD-src-d2fd075432aa84aea994ebaac3d48179c4a7df0d.zip
FreeBSD-src-d2fd075432aa84aea994ebaac3d48179c4a7df0d.tar.gz
Avoid an (ignored) error by invoking chflags on the link target, not the
symlink. PR: kern/73016 Submitted by: John E. Hein <jhein@timing.com> MFC after: 1 week
Diffstat (limited to 'libexec/rtld-elf/Makefile')
-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 e5235a9..1b2910a 100644
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -48,7 +48,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 ${DESTDIR}/usr/libexec/${PROG}
+ -chflags noschg ${DESTDIR}/${BINDIR}/${PROG}
.PATH: ${.CURDIR}/${MACHINE_ARCH}
OpenPOWER on IntegriCloud