From b74f72a74edda92cba3bfb94cee8742cabe87a8e Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Thu, 20 May 2021 22:46:29 -0400 Subject: [PATCH] Set `EMSDK_PYTHON=../python3` to match what `emsdk_env.sh` does (#19) (cherry picked from commit 80b4baa20e3c0c33a6d17dae28cdec6ccf39e0ee) --- eng/sdk_files/Emscripten.Python.props | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/eng/sdk_files/Emscripten.Python.props b/eng/sdk_files/Emscripten.Python.props index 2d18f7b6ef..b423d30c41 100644 --- a/eng/sdk_files/Emscripten.Python.props +++ b/eng/sdk_files/Emscripten.Python.props @@ -5,9 +5,13 @@ $(EmscriptenPythonToolsPath)bin\ $(EmscriptenPythonToolsPath) - - - + <_EmscriptenPython Condition="!$([MSBuild]::IsOSPlatform('WINDOWS'))">$(EmscriptenPythonBinPath)\python3 + <_EmscriptenPython Condition="$([MSBuild]::IsOSPlatform('WINDOWS'))" >$(EmscriptenPythonBinPath)\python.exe + + + + +