diff options
Diffstat (limited to 'libc/misc')
-rw-r--r-- | libc/misc/internals/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
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 $@ |