From: deraadt Date: Fri, 19 Dec 2014 14:19:41 +0000 (+0000) Subject: place the afterinstall: target correctly for static-only architectures X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ad03724f6cc7537f86e11e67cd6839da4ed93a56;p=openbsd place the afterinstall: target correctly for static-only architectures --- 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 boot.o: boot.c