summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-06-24 14:02:47 -0400
committerRich Felker <dalias@aerifal.cx>2011-06-24 14:02:47 -0400
commita654b0243b450379f94bd08a4e4e4306efbec3c0 (patch)
treec7db19b2bcf4e1cca54b69249727f193efc704ac /Makefile
parentec05a0b08f0d93341c149a6f3235e4ee5711b2f8 (diff)
downloadmusl-a654b0243b450379f94bd08a4e4e4306efbec3c0.tar.gz
musl-a654b0243b450379f94bd08a4e4e4306efbec3c0.tar.bz2
musl-a654b0243b450379f94bd08a4e4e4306efbec3c0.tar.xz
musl-a654b0243b450379f94bd08a4e4e4306efbec3c0.zip
use symlink rather than bogus linker script for libc.so
the linker script caused a bogus DT_NEEDED entry
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 277aa00a..ff3d9778 100644
--- a/Makefile
+++ b/Makefile
@@ -107,8 +107,8 @@ $(DESTDIR)$(includedir)/%: include/%
$(DESTDIR)/lib/ld-musl-$(ARCH).so.1: lib/ld-musl-$(ARCH).so.1
install -D -m 755 $< $@
-$(DESTDIR)$(libdir)/libc.so: $(DESTDIR)/lib/ld-musl-$(ARCH).so.1
- echo 'GROUP ( /lib/ld-musl-$(ARCH).so.1 )' > $@
+$(DESTDIR)$(libdir)/libc.so: lib/ld-musl-$(ARCH).so.1
+ ln -sf /lib/ld-musl-$(ARCH).so.1 $@
.PRECIOUS: $(CRT_LIBS:lib/%=crt/%)