From 83a5601c6c746c3a296dfe3b017770c0942d60b4 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 17 Apr 2002 11:32:37 +0000 Subject: Patch from Martin Proulx to not do ELFish things when not ELF. --- libc/misc/internals/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/misc') diff --git a/libc/misc/internals/Makefile b/libc/misc/internals/Makefile index c35c636ef..e9b4e55b8 100644 --- a/libc/misc/internals/Makefile +++ b/libc/misc/internals/Makefile @@ -38,8 +38,10 @@ ar-target: $(OBJS) interp.c: Makefile echo "/* Force shared libraries to know about the correct library loader */" > interp.c + echo "#ifdef HAVE_ELF" >> interp.c echo "const char __dl_ldso__[] __attribute__ ((section " \ "(\".interp\"))) =\""$(DYNAMIC_LINKER)"\";" >> interp.c + echo "#endif" >> interp.c $(COBJS): %.o : %.c $(CC) $(CFLAGS) -c $< -o $@ -- cgit v1.2.3