OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac582c1
)
Patch from Martin Proulx to not do ELFish things when not ELF.
author
Eric Andersen
<andersen@codepoet.org>
Wed, 17 Apr 2002 11:32:37 +0000
(11:32 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Wed, 17 Apr 2002 11:32:37 +0000
(11:32 -0000)
libc/misc/internals/Makefile
patch
|
blob
|
history
diff --git
a/libc/misc/internals/Makefile
b/libc/misc/internals/Makefile
index
c35c636
..
e9b4e55
100644
(file)
--- 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 $@