diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/s2n/openssl.patch | |
Diffstat (limited to 'vcpkg/ports/s2n/openssl.patch')
| -rw-r--r-- | vcpkg/ports/s2n/openssl.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vcpkg/ports/s2n/openssl.patch b/vcpkg/ports/s2n/openssl.patch new file mode 100644 index 0000000..cc4af1a --- /dev/null +++ b/vcpkg/ports/s2n/openssl.patch @@ -0,0 +1,18 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d16e5f5f0..133934580 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -266,9 +266,10 @@ if (TARGET crypto) + message(STATUS "S2N found target: crypto") + set(LINK_LIB "crypto") + else() +- find_package(crypto REQUIRED) +- message(STATUS "Using libcrypto from the cmake path") +- set(LINK_LIB "AWS::crypto") ++ find_package(OpenSSL REQUIRED) ++ find_package(Threads REQUIRED) ++ set(LINK_LIB OpenSSL::Crypto Threads::Threads) ++ message(STATUS "Using libcrypto from system: ${OPENSSL_CRYPTO_LIBRARY}") + endif() + + if (S2N_INTERN_LIBCRYPTO) |