Skip to content

Commit 4c10eff

Browse files
authored
Add Linker arg to browser and wasm app targets (#107194)
1 parent f1bcbeb commit 4c10eff

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/mono/browser/build/BrowserWasmApp.targets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,7 @@
480480
<_EmccLinkStepArgs Include="$(EmccExtraLDFlags)" />
481481

482482
<_WasmLinkStepArgs Include="@(_EmccLinkStepArgs)" />
483+
<_WasmLinkStepArgs Include="@(LinkerArg)" />
483484
</ItemGroup>
484485
</Target>
485486

src/mono/wasi/build/WasiApp.targets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@
372372
<_WasiLinkStepArgs Include="-o &quot;$(_WasiOutputFileName.Replace('\', '/'))&quot;" />
373373

374374
<_WasmLinkStepArgs Include="@(_WasiLinkStepArgs)" />
375+
<_WasmLinkStepArgs Include="@(LinkerArg)" />
375376
</ItemGroup>
376377
</Target>
377378

0 commit comments

Comments
 (0)