aboutsummaryrefslogtreecommitdiff
path: root/ports/getdns/openssl_depend_libs.patch
diff options
context:
space:
mode:
authorJim Hague <jim.hague@acm.org>2020-07-07 01:22:17 +0100
committerGitHub <noreply@github.com>2020-07-06 17:22:17 -0700
commite1285b4a280b540c191fed5fbfbcd3626de1fc30 (patch)
tree36e80b1d48a60de19ac96475df789cf0619f469f /ports/getdns/openssl_depend_libs.patch
parent6a41626eaf33d2f3392e06d98a94c630bfc30977 (diff)
downloadvcpkg-e1285b4a280b540c191fed5fbfbcd3626de1fc30.tar.gz
vcpkg-e1285b4a280b540c191fed5fbfbcd3626de1fc30.zip
[getdns] Add new port. (#12090)
* [getdns] Add new port. * Add support for vcpkg static library builds. * Convert libevent and libuv libraries to features. * Use ${PORT} in copyright install. * getdns does not currently support UWP. * Add failing port on UWP to portfile. * Remove optional FEATURES keyword.
Diffstat (limited to 'ports/getdns/openssl_depend_libs.patch')
-rw-r--r--ports/getdns/openssl_depend_libs.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/getdns/openssl_depend_libs.patch b/ports/getdns/openssl_depend_libs.patch
new file mode 100644
index 000000000..6969b4319
--- /dev/null
+++ b/ports/getdns/openssl_depend_libs.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 7d22d3ca..7784ab58 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -335,7 +335,7 @@ check_include_file(openssl/rand.h HAVE_OPENSSL_RAND_H)
+ check_include_file(openssl/conf.h HAVE_OPENSSL_CONF_H)
+ check_include_file(openssl/engine.h HAVE_OPENSSL_ENGINE_H)
+
+-set(CMAKE_REQUIRED_LIBRARIES ${OPENSSL_LIBRARIES})
++set(CMAKE_REQUIRED_LIBRARIES ${OPENSSL_LIBRARIES} ${getdns_system_libs})
+ check_function_exists(DSA_SIG_set0 HAVE_DSA_SIG_SET0)
+ check_function_exists(DSA_set0_pqg HAVE_DSA_SET0_PQG)
+ check_function_exists(DSA_set0_key HAVE_DSA_SET0_KEY)