summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1998-08-13 18:16:43 +0000
committerchristos <christos@NetBSD.org>1998-08-13 18:16:43 +0000
commite8902c2d7cfa5b882b30d096b6b6a57b8ffc9b1d (patch)
tree086de85e17ce5899c6cad7bd03b9b3db23f81883 /libexec
parentd0153a96fe8e6ae41b26431da0691ed59bba8a8e (diff)
Don't install the ELF link.h in a.out systems!@#$#@
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ld.elf_so/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/ld.elf_so/Makefile b/libexec/ld.elf_so/Makefile
index 02bb5b800b4..d1086c2736b 100644
--- a/libexec/ld.elf_so/Makefile
+++ b/libexec/ld.elf_so/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 1998/08/04 17:02:16 tv Exp $
+# $NetBSD: Makefile,v 1.14 1998/08/13 18:16:43 christos Exp $
.include <bsd.own.mk> # for OBJECT_FMT definition
@@ -22,8 +22,10 @@ CPPFLAGS+= -DDEBUG -DRTLD_LOADER
LDADD+= -L${DESTDIR}/${LIBDIR} -non_shared -lc_pic
DPADD+= ${LIBC_PIC}
+.if (${OBJECT_FMT} == "ELF")
# to be installed
HDRS= link.h
+.endif
STRIPFLAG=