projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a654b02
)
use soname in ld-musl.so to prevent filename appearing in DT_NEEDEDs
author
Rich Felker
<dalias@aerifal.cx>
Fri, 24 Jun 2011 22:32:30 +0000
(18:32 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 24 Jun 2011 22:32:30 +0000
(18:32 -0400)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index ff3d97781ca2e3887edbbee216425bc649342dd9..7185b83c5ca35bad9e882e39de333f4725eba7ae 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-76,7
+76,7
@@
include/bits/alltypes.h: include/bits/alltypes.h.sh
$(CC) $(CFLAGS) $(INC) $(PIC) -c -o $@ $<
lib/ld-musl-$(ARCH).so.1: $(LOBJS)
- $(CC) $(LDFLAGS) -o $@ $(LOBJS) -lgcc
+ $(CC) $(LDFLAGS) -
Wl,-soname=libc.so.1 -
o $@ $(LOBJS) -lgcc
$(OBJCOPY) --weaken $@
lib/libc.a: $(OBJS)