← Commit list

f30f1307c1

Viktor Szakats
Viktor Szakats
2025-10-18
SUCCESS Duration: 342s

Subject

cmake: fix Linux pre-fills for non-glibc (when `_CURL_PREFILL=ON`)

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

CMake/unix-cache.cmake+2 -2
@@ -142,7 +142,7 @@ set(HAVE_GETRLIMIT 1)
set(HAVE_GETSOCKNAME 1)
set(HAVE_GETTIMEOFDAY 1)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
- set(HAVE_GLIBC_STRERROR_R 1)
+ # Depends on C library.
else()
set(HAVE_GLIBC_STRERROR_R 0)
endif()
@@ -164,7 +164,7 @@ else()
endif()
set(HAVE_LIBGEN_H 1)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
- set(HAVE_LINUX_TCP_H 1)
+ # Requires Linux kernel userspace headers. Expected with glibc. May be missing by default with MUSL.
else()
set(HAVE_LINUX_TCP_H 0)
endif()