We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7373ba2 commit a7d451dCopy full SHA for a7d451d
Tools/wasm/emscripten/__main__.py
@@ -206,6 +206,17 @@ def configure_emscripten_python(context, working_dir):
206
sysconfig_data += "-pydebug"
207
208
host_runner = context.host_runner
209
+ if node_version := os.environ.get("PYTHON_NODE_VERSION", None):
210
+ res = subprocess.run(
211
+ [
212
+ "bash",
213
+ "-c",
214
+ f"source ~/.nvm/nvm.sh && nvm which {node_version}",
215
+ ],
216
+ text=True,
217
+ capture_output=True,
218
+ )
219
+ host_runner = res.stdout
220
pkg_config_path_dir = (PREFIX_DIR / "lib/pkgconfig/").resolve()
221
env_additions = {
222
"CONFIG_SITE": config_site,
0 commit comments