Skip to content

Commit

Permalink
cross/python3: ensure cffi is installed through standard crossenv mec…
Browse files Browse the repository at this point in the history
…hanism
  • Loading branch information
smaarn committed Dec 16, 2020
1 parent 414a489 commit 9226112
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cross/python3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ python3_post_install: $(WORK_DIR)/python-cc.mk
@$(RUN) $(PYTHON_NATIVE) -m crossenv $(STAGING_INSTALL_PREFIX)/bin/python$(PKG_VERS_MAJOR_MINOR) $(WORK_DIR)/crossenv/
. $(WORK_DIR)/crossenv/bin/activate && $(RUN) wget https://bootstrap.pypa.io/get-pip.py -O - | build-python
. $(WORK_DIR)/crossenv/bin/activate && $(RUN) wget https://bootstrap.pypa.io/get-pip.py -O - | python
. $(WORK_DIR)/crossenv/bin/activate && build-pip install "setuptools==44.1.0" "wheel==0.35.1"
. $(WORK_DIR)/crossenv/bin/activate && pip install "setuptools==44.1.0" "wheel==0.35.1"
. $(WORK_DIR)/crossenv/bin/activate && build-pip install "setuptools==44.1.0" "wheel==0.35.1" "cffi==1.14.4"
. $(WORK_DIR)/crossenv/bin/activate && pip install "setuptools==44.1.0" "wheel==0.35.1" "cffi==1.14.4"
ifneq ($(PYTHON_LIB_NATIVE),$(PYTHON_LIB_CROSS))
cp $(PYTHON_LIB_CROSS)/_sysconfigdata_*.py $(PYTHON_LIB_NATIVE)/_sysconfigdata.py
endif
Expand Down

0 comments on commit 9226112

Please sign in to comment.