2019-03-27 14:12:20 +01:00
|
|
|
libnixrust_PATH := $(d)/target/release/libnixrust.a
|
|
|
|
libnixrust_INSTALL_PATH := $(libnixrust_PATH)
|
|
|
|
libnixrust_LDFLAGS_USE := -L$(d)/target/release -lnixrust -ldl
|
|
|
|
libnixrust_LDFLAGS_USE_INSTALLED := $(libnixrust_LDFLAGS_USE)
|
|
|
|
|
|
|
|
$(d)/target/release/libnixrust.a: $(wildcard $(d)/src/*.rs) $(d)/Cargo.toml
|
2019-11-26 22:45:15 +01:00
|
|
|
$(trace-gen) cd nix-rust && CARGO_HOME=$$(if [[ -d vendor ]]; then echo vendor; fi) cargo build --release $$(if [[ -d vendor ]]; then echo --offline; fi) && touch target/release/libnixrust.a
|
2019-07-05 01:01:18 +02:00
|
|
|
|
|
|
|
dist-files += $(d)/vendor
|