Skip to content

Commit 75d8fc2

Browse files
authored
Delay-load icu so that we don't fail to start up on Windows <1903 (#18707)
1 parent 6e89242 commit 75d8fc2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: src/cascadia/TerminalControl/dll/TerminalControl.vcxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
<ItemDefinitionGroup>
9696
<Link>
9797
<AdditionalDependencies>delayimp.lib;Uiautomationcore.lib;onecoreuap.lib;%(AdditionalDependencies)</AdditionalDependencies>
98-
<DelayLoadDLLs>uiautomationcore.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
98+
<DelayLoadDLLs>uiautomationcore.dll;icu.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
9999
<!--
100100
ControlLib contains a DllMain that we need to force the use of.
101101
If you don't have this, then you'll see an error like

Diff for: src/host/exe/Host.EXE.vcxproj

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
<Link>
8888
<AllowIsolation>true</AllowIsolation>
8989
<AdditionalDependencies>winmm.lib;imm32.lib;%(AdditionalDependencies)</AdditionalDependencies>
90+
<DelayLoadDLLs>icu.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
9091
</Link>
9192
</ItemDefinitionGroup>
9293
<!-- Careful reordering these. Some default props (contained in these files) are order sensitive. -->

0 commit comments

Comments
 (0)