提交 e0b0ff15 编写于 作者: R Rich Felker

use soname in ld-musl.so to prevent filename appearing in DT_NEEDEDs

上级 a654b024
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册