summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2017-08-24 15:37:42 +0800
committerJohn Hodge <tpg@ucc.asn.au>2017-08-24 15:37:42 +0800
commit7dd3c1aed20a06b206c39d2cd918cb804455d127 (patch)
tree7c21c697d76cd7e758861b498ca7eac6809c30c8
parent2e3867a4ccf00df8974ae1158dd73f269063b112 (diff)
downloadmrust-7dd3c1aed20a06b206c39d2cd918cb804455d127.tar.gz
Makefile - load miniz_sys
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4fa4e325..49e9270a 100644
--- a/Makefile
+++ b/Makefile
@@ -266,9 +266,11 @@ output/libpanic_unwind.hir: $(call fcn_extcrate, core alloc libc unwind)
output/libpanic_abort.hir: $(call fcn_extcrate, core $(call fn_getdeps, $(RUSTCSRC)src/libpanic_abort/lib.rs))
output/libtest.hir: $(call fcn_extcrate, std getopts term panic_unwind)
output/libgetopts.hir: output/libstd.hir
-output/libflate2.hir: $(call fcn_extcrate, std $(call fn_getdeps, $(RUSTCSRC)src/vendor/flate2/src/lib.rs))
+output/libflate2.hir: $(call fcn_extcrate, std libc miniz_sys)
output/liblog.hir: $(call fcn_extcrate, std $(call fn_getdeps, $(RUSTCSRC)src/vendor/log/src/lib.rs))
output/libenv_logger.hir: $(call fcn_extcrate, std $(call fn_getdeps, $(RUSTCSRC)src/vendor/env_logger/src/lib.rs))
+output/libminiz_sys.hir: $(RUSTCSRC)src/vendor/miniz-sys/lib.rs $(call fcn_extcrate, std)
+ $(DBG) $(ENV_$@) $(BIN) $< --crate-type rlib --crate-name miniz_sys -o $@ $(RUST_FLAGS) $(ARGS_$@) $(PIPECMD)
output/liballoc_system.hir: $(call fcn_extcrate, core libc)
output/liballoc_jemalloc.hir: $(call fcn_extcrate, core libc)