chore: Adjust pinvoke
This commit is contained in:
Родитель
e64df7479e
Коммит
c509f6f950
|
@ -42,6 +42,7 @@
|
|||
<ItemGroup>
|
||||
<!-- PInvoke compat -->
|
||||
<_WasmPInvokeModules Include="__Native" />
|
||||
<_WasmPInvokeModules Include="__Internal" />
|
||||
<_WasmPInvokeModules Include="@(WasmShellAdditionalPInvokeLibrary)" />
|
||||
|
||||
<!-- Native files compat -->
|
||||
|
|
|
@ -49,10 +49,6 @@
|
|||
<WasmShellExtraEmccFlags Include="-s USE_LIBPNG=1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(UseAOT)'=='true'">
|
||||
<WasmShellAdditionalPInvokeLibrary Include="libc" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<LinkerDescriptor Include="LinkerConfig.xml" />
|
||||
</ItemGroup>
|
||||
|
|
|
@ -15,4 +15,10 @@
|
|||
<WasmShellExtraEmccFlags Include="-s LEGACY_GL_EMULATION=1" />
|
||||
<WasmShellExtraEmccFlags Include="-s USE_CLOSURE_COMPILER=1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(UseAOT)'=='true'">
|
||||
<WasmShellAdditionalPInvokeLibrary Include="libc" />
|
||||
<WasmShellAdditionalPInvokeLibrary Include="libc.so" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
Загрузка…
Ссылка в новой задаче