From 25c4f69f476df5d89c64214b15cd55689b118bff Mon Sep 17 00:00:00 2001 From: Martin Valgur Date: Mon, 27 Nov 2023 17:30:24 +0200 Subject: [PATCH] getdns: try to fix OpenSSL feature detection --- recipes/getdns/all/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes/getdns/all/CMakeLists.txt b/recipes/getdns/all/CMakeLists.txt index 1b78796ea34642..64952dce67069d 100644 --- a/recipes/getdns/all/CMakeLists.txt +++ b/recipes/getdns/all/CMakeLists.txt @@ -13,6 +13,7 @@ macro(custom_find_package name) endmacro() custom_find_package(OpenSSL) +link_directories(${OPENSSL_LIB_DIR}) if(BUILD_LIBEV) custom_find_package(Libev) endif() @@ -38,3 +39,7 @@ if(WIN32) endif() add_subdirectory(src) + +if(NOT HAVE_DSA_SIG_SET0) + message(FATAL_ERROR "OpenSSL feature detection failed, probably due to a bug in getdns recipe.") +endif()