--- 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)
