X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=Makefile;h=1bdea61eed0932952491eb8903bb763db52260e8;hp=4f93049204fbfc4581e33e61ff6ca53320a3c8e5;hb=6ab8136b4477fd75381c06fa0e7fa93c89c712a1;hpb=e765239f334d670e1b68289a2fcaa6b82a3b9666 diff --git a/Makefile b/Makefile index 4f930492..1bdea61e 100644 --- a/Makefile +++ b/Makefile @@ -124,10 +124,12 @@ $(DESTDIR)$(libdir)/%: lib/% $(DESTDIR)$(includedir)/%: include/% install -D -m 644 $< $@ -$(DESTDIR)$(LDSO_PATHNAME): lib/libc.so - install -d -m 755 $(DESTDIR)$(syslibdir) || true +$(DESTDIR)$(LDSO_PATHNAME): $(DESTDIR)$(syslibdir) ln -sf $(libdir)/libc.so $@ || true +$(DESTDIR)$(syslibdir): + install -d -m 755 $(DESTDIR)$(syslibdir) + .PRECIOUS: $(CRT_LIBS:lib/%=crt/%) .PHONY: all clean install