summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libexec/ld.so/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/ld.so/Makefile b/libexec/ld.so/Makefile
index f9dd281ff66..68207da87d6 100644
--- a/libexec/ld.so/Makefile
+++ b/libexec/ld.so/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.78 2019/11/29 06:34:44 deraadt Exp $
+# $OpenBSD: Makefile,v 1.79 2019/11/29 19:30:56 deraadt Exp $
SUBDIR=ldconfig ldd
MAN= ld.so.1
@@ -91,6 +91,7 @@ $(PROG): $(test_prog) ${VERSION_SCRIPT} $(OBJS) ${LD_SCRIPT}
$(LD) -e _dl_start $(ELF_LDFLAGS) -o $(candidate) \
`echo ${OBJS} | tr " " "\n" | sort -R`
.endif
+ cp /usr/libexec/ld.so ld.so.backup
.ifdef CHECK_LDSO
${CHECK_LDSO} $(candidate)
.endif