use soname in ld-musl.so to prevent filename appearing in DT_NEEDEDs
This commit is contained in:
parent
a654b0243b
commit
e0b0ff1598
1 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue