Skip to content

Commit d7b1d52

Browse files
committed
Fix emsdk check
We use system python on osx too
1 parent 92b4559 commit d7b1d52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mono/browser/build/EmSdkRepo.Defaults.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
<_UsingEMSDK_PATH>true</_UsingEMSDK_PATH>
1414
</PropertyGroup>
1515

16-
<!-- Emscripten uses system python on Linux, so we don't need $(EmscriptenPythonToolsPath) -->
17-
<PropertyGroup Condition="!$([MSBuild]::IsOSPlatform('linux'))">
16+
<!-- Emscripten uses system python on Linux and macos, so we don't need $(EmscriptenPythonToolsPath) -->
17+
<PropertyGroup Condition="!$([MSBuild]::IsOSPlatform('linux')) and !$([MSBuild]::IsOSPlatform('OSX'))">
1818
<EmscriptenPythonToolsPath>$([MSBuild]::NormalizeDirectory($(EmscriptenSdkToolsPath)python))</EmscriptenPythonToolsPath>
1919

2020
<_EMSDKMissingPaths Condition="'$(_EMSDKMissingPaths)' == '' and ('$(EmscriptenPythonToolsPath)' == '' or !Exists('$(EmscriptenPythonToolsPath)'))">%24(EmscriptenPythonToolsPath)=$(EmscriptenPythonToolsPath) </_EMSDKMissingPaths>

0 commit comments

Comments
 (0)