From 2dcbd84456fa79af585964e4bd5ca5854dffeea3 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Tue, 6 Jan 2015 18:29:13 +0100 Subject: [PATCH] Build rust-crypto with cargo --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f41479000..5eefff85b 100644 --- a/Makefile +++ b/Makefile @@ -221,9 +221,9 @@ $(BUILDDIR)/uutils: $(SRCDIR)/uutils/uutils.rs $(BUILDDIR)/mkuutils $(RLIB_PATHS $(if $(ENABLE_STRIP),strip $@) # Dependencies --include $(BUILDDIR)/rust-crypto.d $(BUILDDIR)/.rust-crypto: $(BUILDDIR)/.rust-time | $(BUILDDIR) - $(RUSTC) $(RUSTCFLAGS) --extern time=$(BUILDDIR)/libtime.rlib --crate-type rlib --crate-name crypto --dep-info $(BUILDDIR)/rust-crypto.d $(BASEDIR)/deps/rust-crypto/src/rust-crypto/lib.rs --out-dir $(BUILDDIR)/ + cd $(BASEDIR)/deps/rust-crypto && cargo build --release + cp -r $(BASEDIR)/deps/rust-crypto/target/release/libcrypto*.rlib $(BUILDDIR)/libcrypto.rlib @touch $@ $(BUILDDIR)/.rust-time: