mirror of https://github.com/pyodide/pyodide.git
BLD match host and target in case of multiple pythons (#1292)
This commit is contained in:
parent
16fd8e4b91
commit
d2bd70a52a
|
@ -9,8 +9,8 @@ SHELL := /bin/bash
|
|||
|
||||
export PYVERSION=3.8.2
|
||||
export PYMINOR=$(basename $(PYVERSION))
|
||||
export HOSTPYTHONROOT=$(shell python -c "import sys; print(sys.prefix)")
|
||||
export HOSTPYTHON=$(HOSTPYTHONROOT)/bin/python3
|
||||
export HOSTPYTHONROOT=$(shell python3.8 -c "import sys; print(sys.prefix)")
|
||||
export HOSTPYTHON=$(HOSTPYTHONROOT)/bin/python3.8
|
||||
export TARGETPYTHONROOT=$(PYODIDE_ROOT)/cpython/installs/python-$(PYVERSION)
|
||||
export PYTHONINCLUDE=$(PYODIDE_ROOT)/cpython/installs/python-$(PYVERSION)/include/python$(PYMINOR)
|
||||
|
||||
|
|
Loading…
Reference in New Issue