summaryrefslogtreecommitdiff
path: root/libexec/ld.so/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-12-19 14:19:42 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-12-19 14:19:42 +0000
commit23d81ce042bd574bc3f38f30b4c1988c9b882371 (patch)
tree84ae8f969a10ada17b6e8500f79c18b01e5f67c4 /libexec/ld.so/Makefile
parent74d419ad95df447f876c2312d28803f480570147 (diff)
place the afterinstall: target correctly for static-only architectures
Diffstat (limited to 'libexec/ld.so/Makefile')
-rw-r--r--libexec/ld.so/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/libexec/ld.so/Makefile b/libexec/ld.so/Makefile
index 1f8ace1d24f..ad13e0dd754 100644
--- a/libexec/ld.so/Makefile
+++ b/libexec/ld.so/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.52 2014/12/16 23:59:47 deraadt Exp $
+# $OpenBSD: Makefile,v 1.53 2014/12/19 14:19:41 deraadt Exp $
SUBDIR=ldconfig ldd
MAN= ld.so.1
@@ -24,6 +24,9 @@ SRCS+= library_mquery.c
SRCS+= library.c
.endif
+afterinstall:
+ ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ ${.OBJDIR}/ld.so ${DESTDIR}/sbin/ld.so
.include "${.CURDIR}/${MACHINE_CPU}/Makefile.inc"
.PATH: ${.CURDIR}/${MACHINE_CPU}
@@ -52,10 +55,6 @@ $(PROG): $(test_prog)
cp $(candidate) $@
.endif
-afterinstall:
- ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- ${.OBJDIR}/ld.so ${DESTDIR}/sbin/ld.so
-
.include <bsd.prog.mk>
boot.o: boot.c