Browse Source

fix a few bugs from last dynamic linking build system commit

some cruft was left and DESTDIR was not being used correctly.
rs-1.0
Rich Felker 15 years ago
parent
commit
8d54681f15
  1. 4
      Makefile

4
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

Loading…
Cancel
Save