Blame SOURCES/runtime-linker-order.patch

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