We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bda53bd + 00ee6ea commit a66f726Copy full SHA for a66f726
src/WitBindgen/build/WitBindgen.targets
@@ -22,8 +22,10 @@
22
-->
23
<Target Name="PrepareWasmSdks" BeforeTargets="CheckWasmSdks" DependsOnTargets="ObtainWasiSdk; ObtainEmscripten">
24
<PropertyGroup>
25
+ <ClangExeName>clang</ClangExeName>
26
+ <ClangExeName Condition="$([MSBuild]::IsOSPlatform('Windows'))">$(ClangExeName).exe</ClangExeName>
27
<EmSdk>$(EmscriptenRoot)</EmSdk>
- <Wasicompiler>$(EmscriptenRoot)\upstream\emscripten\emcc.bat</Wasicompiler>
28
+ <Wasicompiler>$(WasiSdkRoot)\bin\$(ClangExeName)</Wasicompiler>
29
<WASI_SDK_PATH>$(WasiSdkRoot)</WASI_SDK_PATH>
30
</PropertyGroup>
31
</Target>
0 commit comments