Blame SOURCES/corefx-32956-alpn.patch

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