summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-11-14 22:18:31 +0000
committerru <ru@FreeBSD.org>2004-11-14 22:18:31 +0000
commit1808b89247609346e38f66d8b9f9d4bcd6254e43 (patch)
tree9b2425238159583456a485947f2323bdcea1949b /libexec/rtld-elf/Makefile
parent3c345cd780869d460fe1d39a3fd6f4db6e5f4171 (diff)
downloadFreeBSD-src-1808b89247609346e38f66d8b9f9d4bcd6254e43.zip
FreeBSD-src-1808b89247609346e38f66d8b9f9d4bcd6254e43.tar.gz
So do it like we do in usr.bin/tip/tip/Makefile. ;)
Diffstat (limited to 'libexec/rtld-elf/Makefile')
-rw-r--r--libexec/rtld-elf/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
index e5235a9..3179495 100644
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -48,7 +48,9 @@ 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:
+.if exists(${DESTDIR}/usr/libexec/${PROG})
-chflags noschg ${DESTDIR}/usr/libexec/${PROG}
+.endif
.PATH: ${.CURDIR}/${MACHINE_ARCH}
OpenPOWER on IntegriCloud