File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/native/corehost/apphost/static Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,9 @@ if(CLR_CMAKE_TARGET_WIN32)
110110 # Incremental linking results in the linker inserting extra padding and routing function calls via thunks that can break the
111111 # invariants (e.g. size of region between Jit_PatchedCodeLast-Jit_PatchCodeStart needs to fit in a page).
112112 add_linker_flag("/INCREMENTAL:NO" )
113+
114+ # Delay load libraries required for WinRT as that is not supported on all platforms.
115+ add_linker_flag("/DELAYLOAD:api-ms-win-core-winrt-l1-1-0.dll" )
113116endif ()
114117
115118if (CLR_CMAKE_TARGET_WIN32)
@@ -130,6 +133,7 @@ if(CLR_CMAKE_TARGET_WIN32)
130133 shell32.lib
131134 bcrypt.lib
132135 RuntimeObject.lib
136+ delayimp.lib
133137 )
134138
135139 set (RUNTIMEINFO_LIB runtimeinfo)
You can’t perform that action at this time.
0 commit comments