Blame SOURCES/corefx-32956-alpn.patch

133fb8
From 9b9697318e9990655ea878a28a00eda44fb615c2 Mon Sep 17 00:00:00 2001
133fb8
From: Jeremy Barton <jbarton@microsoft.com>
133fb8
Date: Mon, 22 Oct 2018 11:54:52 -0700
133fb8
Subject: [PATCH] Fix ALPN detection logic (for non-portable shim builds)
133fb8
133fb8
---
133fb8
 .../Unix/System.Security.Cryptography.Native/configure.cmake    | 2 +-
133fb8
 1 file changed, 1 insertion(+), 1 deletion(-)
133fb8
133fb8
diff --git a/src/Native/Unix/System.Security.Cryptography.Native/configure.cmake b/src/Native/Unix/System.Security.Cryptography.Native/configure.cmake
133fb8
index cdc9f50f3c33..fac8c16343df 100644
133fb8
--- a/src/Native/Unix/System.Security.Cryptography.Native/configure.cmake
133fb8
+++ b/src/Native/Unix/System.Security.Cryptography.Native/configure.cmake
133fb8
@@ -2,7 +2,7 @@ include(CheckLibraryExists)
c3bec3
 include(CheckFunctionExists)
133fb8
 
c3bec3
 set(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIR})
133fb8
-set(CMAKE_REQUIRED_LIBRARIES ${OPENSSL_CRYPTO_LIBRARY})
133fb8
+set(CMAKE_REQUIRED_LIBRARIES ${OPENSSL_CRYPTO_LIBRARY} ${OPENSSL_SSL_LIBRARY})
133fb8
 
133fb8
 check_function_exists(
133fb8
     EC_GF2m_simple_method