Blame SOURCES/runtime-linker-order.patch

1517b7
diff --git a/src/installer/corehost/cli/apphost/static/CMakeLists.txt b/src/installer/corehost/cli/apphost/static/CMakeLists.txt
1517b7
index 85ea6ffe642..e6369f6b9ad 100644
1517b7
--- a/src/installer/corehost/cli/apphost/static/CMakeLists.txt
1517b7
+++ b/src/installer/corehost/cli/apphost/static/CMakeLists.txt
1517b7
@@ -204,11 +204,12 @@ target_link_libraries(singlefilehost
1517b7
     libhostcommon
1517b7
     ${CORECLR_LIBRARIES}
1517b7
 
1517b7
+    ${START_WHOLE_ARCHIVE}
1517b7
+    ${NATIVE_LIBS}
1517b7
+    ${END_WHOLE_ARCHIVE}
1517b7
+
1517b7
     ${ZLIB_LIBRARIES}
1517b7
     ${LIBGSS}
1517b7
     ${NATIVE_LIBS_EXTRA}
1517b7
 
1517b7
-    ${START_WHOLE_ARCHIVE}
1517b7
-    ${NATIVE_LIBS}
1517b7
-    ${END_WHOLE_ARCHIVE}
1517b7
 )