mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-12-01 18:16:14 +02:00
8 lines
406 B
Makefile
8 lines
406 B
Makefile
|
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
|
||
|
$(trace-gen) cd nix-rust && RUSTC_BOOTSTRAP=1 cargo build --release && touch target/release/libnixrust.a
|