fix a few bugs from last dynamic linking build system commit
authorRich Felker <dalias@aerifal.cx>
Tue, 28 Jun 2011 12:27:38 +0000 (08:27 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 28 Jun 2011 12:27:38 +0000 (08:27 -0400)
some cruft was left and DESTDIR was not being used correctly.

Makefile

index 59ba71e848a9ee3717e6f7ea1f2046ab93de03e6..f02780758258cdd0443c0b2fa6416a9baee5b089 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -43,9 +43,9 @@ LDSO_PATHNAME = $(syslibdir)/ld-musl-$(ARCH).so.1
 
 -include config.mak
 
-all: $(ALL_LIBS) $(ALL_TOOLS) $(ALL_LDSO)
+all: $(ALL_LIBS) $(ALL_TOOLS)
 
-install: $(ALL_LIBS:lib/%=$(DESTDIR)$(libdir)/%) $(ALL_INCLUDES:include/%=$(DESTDIR)$(includedir)/%) $(ALL_TOOLS:tools/%=$(DESTDIR)$(bindir)/%) $(ALL_LDSO:%=$(DESTDIR)/%) $(LDSO_PATHNAME)
+install: $(ALL_LIBS:lib/%=$(DESTDIR)$(libdir)/%) $(ALL_INCLUDES:include/%=$(DESTDIR)$(includedir)/%) $(ALL_TOOLS:tools/%=$(DESTDIR)$(bindir)/%) $(DESTDIR)$(LDSO_PATHNAME)
 
 clean:
        rm -f crt/*.o