mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
python3-cryptography: Fix build against Rust
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
0762a36be2
commit
c54ce71713
@@ -36,6 +36,8 @@ PAK_VER = 1
|
|||||||
|
|
||||||
DEPS = python3-cffi
|
DEPS = python3-cffi
|
||||||
|
|
||||||
|
export CARGOPATH = $(CARGO_PATH)
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Top-level Rules
|
# Top-level Rules
|
||||||
###############################################################################
|
###############################################################################
|
||||||
@@ -77,6 +79,8 @@ $(subst %,%_MD5,$(objects)) :
|
|||||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||||
@$(PREBUILD)
|
@$(PREBUILD)
|
||||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||||
|
cd $(DIR_APP) && $(CARGO_PREPARE)
|
||||||
|
cd $(DIR_APP) && rm -vf src/rust/Cargo.lock
|
||||||
cd $(DIR_APP) && python3 setup.py build
|
cd $(DIR_APP) && python3 setup.py build
|
||||||
cd $(DIR_APP) && python3 setup.py install --root=/
|
cd $(DIR_APP) && python3 setup.py install --root=/
|
||||||
@rm -rf $(DIR_APP)
|
@rm -rf $(DIR_APP)
|
||||||
|
|||||||
Reference in New Issue
Block a user