Skip to content

Commit 261cc92

Browse files
authored
SET(CURL_ZLIB OFF) (#99)
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.
1 parent 6dacac2 commit 261cc92

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/curl.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ SET(HTTP_ONLY ON)
1111
SET(CURL_ENABLE_SSL OFF)
1212
SET(CURL_BROTLI OFF)
1313
SET(CURL_ZSTD OFF)
14+
SET(CURL_ZLIB OFF)
1415
SET(USE_ZLIB OFF)
1516
SET(USE_LIBIDN2 OFF)
1617
SET(CURL_USE_LIBSSH2 OFF)

0 commit comments

Comments
 (0)