aboutsummaryrefslogtreecommitdiff
path: root/nix-rust/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-09-15 23:09:30 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-12-10 13:37:23 +0100
commita1ff43045b3f1d075c67c262ff6f623b2b5d569e (patch)
tree08f2b7ef16ff519bad627e98a34034c937cef09e /nix-rust/local.mk
parentce3c41aef0797954412719a8c4597efe8276dcd2 (diff)
Move stuff around
Diffstat (limited to 'nix-rust/local.mk')
-rw-r--r--nix-rust/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-rust/local.mk b/nix-rust/local.mk
index cf1a5c5c5..1157f7894 100644
--- a/nix-rust/local.mk
+++ b/nix-rust/local.mk
@@ -18,7 +18,7 @@ libnixrust_LDFLAGS_USE += -Wl,-rpath,$(abspath $(d)/target/$(RUST_DIR))
libnixrust_LDFLAGS_USE_INSTALLED += -Wl,-rpath,$(libdir)
endif
-$(libnixrust_PATH): $(wildcard $(d)/src/*.rs) $(d)/Cargo.toml
+$(libnixrust_PATH): $(call rwildcard, $(d)/src, *.rs) $(d)/Cargo.toml
$(trace-gen) cd nix-rust && CARGO_HOME=$$(if [[ -d vendor ]]; then echo vendor; fi) \
$(libnixrust_BUILD_FLAGS) \
RUSTC_BOOTSTRAP=1 cargo build $(RUST_MODE) $$(if [[ -d vendor ]]; then echo --offline; fi) \