https://github.com/python/cpython/commit/9c7b2af73dee2b99793637c3b70f724641b84349
commit: 9c7b2af73dee2b99793637c3b70f724641b84349
branch: main
author: Hood Chatham <roberthoodchat...@gmail.com>
committer: ambv <luk...@langa.pl>
date: 2025-07-21T11:17:36+02:00
summary:

gh-136852: Emscripten: Fix bug in #136853 (#136909)

We need to get rid of some whitespace to make this work.

files:
M Tools/wasm/emscripten/__main__.py

diff --git a/Tools/wasm/emscripten/__main__.py 
b/Tools/wasm/emscripten/__main__.py
index 24b989f75f7b2b..b855e80cda703c 100644
--- a/Tools/wasm/emscripten/__main__.py
+++ b/Tools/wasm/emscripten/__main__.py
@@ -216,7 +216,7 @@ def configure_emscripten_python(context, working_dir):
             text=True,
             capture_output=True,
         )
-        host_runner = res.stdout
+        host_runner = res.stdout.strip()
     pkg_config_path_dir = (PREFIX_DIR / "lib/pkgconfig/").resolve()
     env_additions = {
         "CONFIG_SITE": config_site,

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: arch...@mail-archive.com

Reply via email to