Files
ports/lang/dotnet/files/extra-patch-base-openssl
T
Gleb Popov 8b4f0f93a0 lang/dotnet: Correctly link to base OpenSSL
No revision is bumped because this change does not completely fix
the dependency on ports OpenSSL which crept in recent updates.
2025-02-20 15:38:25 +03:00

13 lines
476 B
Plaintext

--- src/runtime/src/native/libs/System.Security.Cryptography.Native/CMakeLists.txt.orig 2025-01-21 19:57:31 UTC
+++ src/runtime/src/native/libs/System.Security.Cryptography.Native/CMakeLists.txt
@@ -11,6 +11,9 @@ add_definitions(-DOPENSSL_API_COMPAT=0x10100000L)
add_definitions(-DOPENSSL_API_COMPAT=0x10100000L)
+if(CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
+ set(OPENSSL_ROOT_DIR /usr)
+endif()
include(${CMAKE_CURRENT_LIST_DIR}/extra_libs.cmake)
set(NATIVE_LIBS_EXTRA)