From e0b0ff1598ff747713631224a54e63af70761a71 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 24 Jun 2011 18:32:30 -0400 Subject: [PATCH] use soname in ld-musl.so to prevent filename appearing in DT_NEEDEDs --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ff3d9778..7185b83c 100644 --- 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) -- 2.25.1