Compare commits
1 commit
main
...
smartdns-u
Author | SHA1 | Date | |
---|---|---|---|
|
3bb619a47e |
|
@ -104,9 +104,9 @@ define Build/Compile/smartdns-webui
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile/smartdns-ui
|
define Build/Compile/smartdns-ui
|
||||||
cargo install --force --locked bindgen-cli
|
cargo install --force --locked --root $(CARGO_HOME) bindgen-cli
|
||||||
CARGO_BUILD_ARGS="$(if $(strip $(RUST_PKG_FEATURES)),--features "$(strip $(RUST_PKG_FEATURES))") --profile $(CARGO_PKG_PROFILE)"
|
CARGO_BUILD_ARGS="$(if $(strip $(RUST_PKG_FEATURES)),--features "$(strip $(RUST_PKG_FEATURES))") --profile $(CARGO_PKG_PROFILE)"
|
||||||
+$(CARGO_PKG_VARS) CARGO_BUILD_ARGS="$(CARGO_BUILD_ARGS)" CC=$(TARGET_CC) \
|
+$(CARGO_PKG_VARS) CARGO_BUILD_ARGS="$(CARGO_BUILD_ARGS)" CC="$(TARGET_CC)" \
|
||||||
PATH="$$(PATH):$(CARGO_HOME)/bin" \
|
PATH="$$(PATH):$(CARGO_HOME)/bin" \
|
||||||
make -C $(PKG_BUILD_DIR)/plugin/smartdns-ui
|
make -C $(PKG_BUILD_DIR)/plugin/smartdns-ui
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue