mirror of git://git.musl-libc.org/musl
use soname in ld-musl.so to prevent filename appearing in DT_NEEDEDs
This commit is contained in:
parent
a654b0243b
commit
e0b0ff1598
2
Makefile
2
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)
|
||||
|
|
Loading…
Reference in New Issue