remove soname from libc.so/ld-musl
authorRich Felker <dalias@aerifal.cx>
Sun, 10 Mar 2013 03:34:11 +0000 (22:34 -0500)
committerRich Felker <dalias@aerifal.cx>
Sun, 10 Mar 2013 03:34:11 +0000 (22:34 -0500)
commitdfdc337b3b276e6ea0e4786ede699f4d0d93dc40
tree8361bf83cfa65a85d4745d5209b8d0466d553cf8
parent08514d0614c97f8c7055955073517844e1b1cf0b
remove soname from libc.so/ld-musl

it serves no purpose (binaries linked against musl as -lc/libc.so
automatically get the right DT_NEEDED value of libc.so) and causes
ldconfig to misbehave (making a symlink to ld-musl named libc.so 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 libc.so, 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.
Makefile