From 8dc6004637ec479a50cd6c716436a42a339522a1 Mon Sep 17 00:00:00 2001 From: Gyeongjae Choi Date: Sat, 6 Nov 2021 06:22:10 +0900 Subject: [PATCH] FIX Explicitly use host Python version when building packages (#1924) --- packages/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Makefile b/packages/Makefile index 1fd495faa..19b7989bb 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -19,7 +19,7 @@ all: .artifacts/bin/pyodide-build .artifacts/bin/pyodide-build: ../pyodide-build/pyodide_build/** mkdir -p $(PYODIDE_LIBRARIES) - python3 -m pip install -e ../pyodide-build --no-deps --prefix $(PYODIDE_LIBRARIES) + $(HOSTPYTHON) -m pip install -e ../pyodide-build --no-deps --prefix $(PYODIDE_LIBRARIES) update-all: for pkg in $$(find . -maxdepth 1 ! -name ".*" -type d -exec basename {} \; | tail -n +2); do \