Blame SOURCES/corefx-32956-alpn.patch

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