dotnet8.0/source-build-runtime-fixup-linker-order.patch

14 lines
518 B
Diff

--- a/patches/runtime/0014-Fix-singlefilehost-build-in-non-portable-mode-42415.patch
+++ b/patches/runtime/0014-Fix-singlefilehost-build-in-non-portable-mode-42415.patch
@@ -45,8 +45,8 @@
# These options are used to force every object to be included even if it's unused.
set(START_WHOLE_ARCHIVE -Wl,--whole-archive)
@@ -212,3 +217,10 @@ target_link_libraries(singlefilehost
- ${NATIVE_LIBS}
- ${END_WHOLE_ARCHIVE}
+ ${NATIVE_LIBS_EXTRA}
+
)
+
+if(NOT FEATURE_DISTRO_AGNOSTIC_SSL)