Skip to content

Commit

Permalink
[wasi] Fix ItemGroup concatenation in wasi (#104549)
Browse files Browse the repository at this point in the history
* fix

---------

Co-authored-by: campersau <buchholz.bastian@googlemail.com>
  • Loading branch information
ilonatommy and campersau authored Jul 9, 2024
1 parent ce92511 commit 0bfb733
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/mono/wasi/build/WasiApp.targets
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@
<!--TODOWASI this needs similar AOT logic as EMCC in https://github.com/dotnet/runtime/pull/80507-->
<WasmInitialHeapSize Condition="'$(WasmInitialHeapSize)' == ''">52428800</WasmInitialHeapSize>
<WasmClang>$(WasiClang)</WasmClang>
<_WasiAfterRuntimeLoadedDeclarations>@(WasiAfterRuntimeLoadedDeclarations, ' ')</_WasiAfterRuntimeLoadedDeclarations>
<_WasiAfterRuntimeLoadedCalls>@(WasiAfterRuntimeLoadedCalls, ' ')</_WasiAfterRuntimeLoadedCalls>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -204,10 +206,10 @@

<_WasiClangCFlags Include="-g" Condition="'$(WasmNativeDebugSymbols)' == 'true'" />

<_WasiClangCFlags Condition="'@(WasiAfterRuntimeLoadedDeclarations)' != ''"
Include="-D WASI_AFTER_RUNTIME_LOADED_DECLARATIONS=&quot;@(WasiAfterRuntimeLoadedDeclarations, ' ')&quot;" />
<_WasiClangCFlags Condition="'@(WasiAfterRuntimeLoadedCalls)' != ''"
Include="-D WASI_AFTER_RUNTIME_LOADED_CALLS=&quot;@(WasiAfterRuntimeLoadedCalls, ' ')&quot;" />
<_WasiClangCFlags Condition="'$(_WasiAfterRuntimeLoadedDeclarations)' != ''"
Include="-D WASI_AFTER_RUNTIME_LOADED_DECLARATIONS=&quot;$(_WasiAfterRuntimeLoadedDeclarations)&quot;" />
<_WasiClangCFlags Condition="'$(_WasiAfterRuntimeLoadedCalls)' != ''"
Include="-D WASI_AFTER_RUNTIME_LOADED_CALLS=&quot;$(_WasiAfterRuntimeLoadedCalls)&quot;" />

<_WasiClangLDFlags Include="$(WasiClangLinkOptimizationFlag)" />
<_WasiClangLDFlags Include="@(_WasiClangCommonFlags)" />
Expand Down

0 comments on commit 0bfb733

Please sign in to comment.