mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 10:17:49 +08:00
c4d48f9089
* limit windows dep libs to windows * fixing configure patch * fixing detect-openssl.patch * adapting portfile to linux * adding a linux-specific build sh * add missing endif() * bumping version * adding extra check for windows environment
23 lines
1.1 KiB
Diff
23 lines
1.1 KiB
Diff
From 18de5c60ae0a987680681d5a0602009b428504fa Mon Sep 17 00:00:00 2001
|
|
From: Gilles Khouzam <gillesk@microsoft.com>
|
|
Date: Mon, 19 Jun 2017 16:33:38 -0700
|
|
Subject: [PATCH] Add better detection for Openssl on Windows.
|
|
|
|
Look for libeay32 and ssleay32 as another detection mechanism
|
|
---
|
|
configure | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/configure b/configure
|
|
index a1818dc..1cf2a7c 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -6127,6 +6127,7 @@
|
|
check_lib openssl openssl/ssl.h SSL_library_init -lssl -lcrypto ||
|
|
check_lib openssl openssl/ssl.h SSL_library_init -lssl32 -leay32 ||
|
|
check_lib openssl openssl/ssl.h SSL_library_init -lssl -lcrypto -lws2_32 -lgdi32 ||
|
|
+ check_lib openssl openssl/ssl.h SSL_library_init -llibeay32 -lssleay32 ||
|
|
die "ERROR: openssl not found"; }
|
|
enabled rkmpp && { require_pkg_config rkmpp rockchip_mpp rockchip/rk_mpi.h mpp_create &&
|
|
require_pkg_config rockchip_mpp "rockchip_mpp >= 1.3.7" rockchip/rk_mpi.h mpp_create &&
|