From 8d54681f15125e5a26669128cba66cd28fc52e5b Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 28 Jun 2011 08:27:38 -0400 Subject: [PATCH] fix a few bugs from last dynamic linking build system commit some cruft was left and DESTDIR was not being used correctly. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1