diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-06-24 18:32:30 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-06-24 18:32:30 -0400 |
commit | e0b0ff1598ff747713631224a54e63af70761a71 (patch) | |
tree | f30d48cc9b3986f6a354354449fa977a8c936be6 | |
parent | a654b0243b450379f94bd08a4e4e4306efbec3c0 (diff) | |
download | musl-e0b0ff1598ff747713631224a54e63af70761a71.tar.gz musl-e0b0ff1598ff747713631224a54e63af70761a71.tar.xz musl-e0b0ff1598ff747713631224a54e63af70761a71.zip |
use soname in ld-musl.so to prevent filename appearing in DT_NEEDEDs
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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) |