From: Rich Felker Date: Tue, 28 Jun 2011 12:27:38 +0000 (-0400) Subject: fix a few bugs from last dynamic linking build system commit X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=8d54681f15125e5a26669128cba66cd28fc52e5b;ds=sidebyside fix a few bugs from last dynamic linking build system commit some cruft was left and DESTDIR was not being used correctly. --- diff --git a/Makefile b/Makefile index 59ba71e8..f0278075 100644 --- 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