]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-136852: Emscripten: Fix bug in #136853 (#136909)
authorHood Chatham <roberthoodchatham@gmail.com>
Mon, 21 Jul 2025 09:17:36 +0000 (11:17 +0200)
committerGitHub <noreply@github.com>
Mon, 21 Jul 2025 09:17:36 +0000 (11:17 +0200)
We need to get rid of some whitespace to make this work.

Tools/wasm/emscripten/__main__.py

index 24b989f75f7b2be1b3649f8b98efc18f1c2e5150..b855e80cda703c3efd3342405f073c0f75b746b7 100644 (file)
@@ -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,