Blame SOURCES/runtime-linker-order.patch

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