From dbaf849270233ec025354f79a7fdc4e42537da24 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sat, 13 Dec 2014 06:48:30 +0100 Subject: [PATCH] Make rust-crypto link to deps/time --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7a507b4c6..20138dcea 100644 --- a/Makefile +++ b/Makefile @@ -221,8 +221,8 @@ $(BUILDDIR)/uutils: $(SRCDIR)/uutils/uutils.rs $(BUILDDIR)/mkuutils $(RLIB_PATHS # Dependencies -include $(BUILDDIR)/rust-crypto.d -$(BUILDDIR)/.rust-crypto: | $(BUILDDIR) - $(RUSTC) $(RUSTCFLAGS) --crate-type rlib --dep-info $(BUILDDIR)/rust-crypto.d $(BASEDIR)/deps/rust-crypto/src/rust-crypto/lib.rs --out-dir $(BUILDDIR)/ +$(BUILDDIR)/.rust-crypto: $(BUILDDIR)/.rust-time | $(BUILDDIR) + $(RUSTC) $(RUSTCFLAGS) --extern time=$(BUILDDIR)/libtime.rlib --crate-type rlib --dep-info $(BUILDDIR)/rust-crypto.d $(BASEDIR)/deps/rust-crypto/src/rust-crypto/lib.rs --out-dir $(BUILDDIR)/ @touch $@ $(BUILDDIR)/.rust-time: