gh-127146: Emscripten Include compiler version in _PYTHON_HOST_PLATFORM (#127992)

Modifies _PYTHON_HOST_PLATFORM to include the compiler version under
Emscripten. The Emscripten compiler version is the platform version
compatibility identifier.
This commit is contained in:
Hood Chatham 2024-12-18 00:17:09 +01:00 committed by GitHub
parent be8ae08687
commit b92f101d0f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

3
configure generated vendored
View file

@ -4545,6 +4545,9 @@ printf "%s\n" "$IPHONEOS_DEPLOYMENT_TARGET" >&6; }
*-*-vxworks*)
_host_ident=$host_cpu
;;
*-*-emscripten)
_host_ident=$(emcc -dumpversion)-$host_cpu
;;
wasm32-*-* | wasm64-*-*)
_host_ident=$host_cpu
;;

View file

@ -793,6 +793,9 @@ if test "$cross_compiling" = yes; then
*-*-vxworks*)
_host_ident=$host_cpu
;;
*-*-emscripten)
_host_ident=$(emcc -dumpversion)-$host_cpu
;;
wasm32-*-* | wasm64-*-*)
_host_ident=$host_cpu
;;