From 7c8f86b00783839ec4a1d36214a139f02b3fe258 Mon Sep 17 00:00:00 2001 From: David Goffredo Date: Tue, 27 Feb 2024 18:54:56 -0500 Subject: [PATCH] SET(CURL_ZLIB OFF) More recent Alpine images were failing to build nginx-datadog due to libz.so being in a different location on the file system than expected by the build produced by CMake. We do not want to build (libcurl) with zlib anyway. Looking around, I found that CURL_ZLIB was needed in addition to (or instead of?) USE_ZLIB. --- cmake/curl.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/curl.cmake b/cmake/curl.cmake index 3316c061..a07f4fd7 100644 --- a/cmake/curl.cmake +++ b/cmake/curl.cmake @@ -11,6 +11,7 @@ SET(HTTP_ONLY ON) SET(CURL_ENABLE_SSL OFF) SET(CURL_BROTLI OFF) SET(CURL_ZSTD OFF) +SET(CURL_ZLIB OFF) SET(USE_ZLIB OFF) SET(USE_LIBIDN2 OFF) SET(CURL_USE_LIBSSH2 OFF)