diff options
authorRich Felker <>2013-03-09 22:34:11 -0500
committerRich Felker <>2013-03-09 22:34:11 -0500
commitdfdc337b3b276e6ea0e4786ede699f4d0d93dc40 (patch)
parent08514d0614c97f8c7055955073517844e1b1cf0b (diff)
remove soname from
it serves no purpose (binaries linked against musl as -lc/ automatically get the right DT_NEEDED value of and causes ldconfig to misbehave (making a symlink to ld-musl named in /lib). ldconfig is not used on pure musl systems, but if ld-musl is installed on a system where it's not the primary libc, this will pollute the system /lib with a symlink to musl named, which should NOT exist and could cause problems linking native apps. also, the existence of the soname caused spurious warnings from ldconfig when /lib and /usr/lib were the same physical directory.
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cc4faefd..997c5bbc 100644
--- a/Makefile
+++ b/Makefile
@@ -94,7 +94,7 @@ src/ldso/dynlink.lo: arch/$(ARCH)/reloc.h
lib/ $(LOBJS)
$(CC) $(CFLAGS_ALL_SHARED) $(LDFLAGS) -nostdlib -shared \
-Wl,-e,_start -Wl,-Bsymbolic-functions \
- -Wl, -o $@ $(LOBJS) $(LIBCC)
+ -o $@ $(LOBJS) $(LIBCC)
lib/libc.a: $(OBJS)
rm -f $@