← Commit list

b9254da617

Viktor Szakats
Viktor Szakats
2026-08-12
SUCCESS Duration: 421s

Subject

build: clear `Require.private` for static-only builds in `libcurl.pc`

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 →

CMakeLists.txt+1 -0
@@ -2301,6 +2301,7 @@ if(NOT CURL_DISABLE_INSTALL)
set(LIBCURL_PC_REQUIRES "${LIBCURL_PC_REQUIRES_PRIVATE}")
set(LIBCURL_PC_LIBS "${LIBCURL_PC_LIBS_PRIVATE}")
set(LIBCURL_PC_CFLAGS "${LIBCURL_PC_CFLAGS_PRIVATE}")
+ set(LIBCURL_PC_REQUIRES_PRIVATE "")
endif()
if(BUILD_STATIC_LIBS)
set(ENABLE_STATIC "yes")
configure.ac+1 -0
@@ -5209,6 +5209,7 @@ dnl Merge pkg-config private fields into public ones when static-only
if test "$enable_shared" = "no"; then
LIBCURL_PC_REQUIRES=$LIBCURL_PC_REQUIRES_PRIVATE
LIBCURL_PC_LIBS=$LIBCURL_PC_LIBS_PRIVATE
+ LIBCURL_PC_REQUIRES_PRIVATE=
else
LIBCURL_PC_REQUIRES=
LIBCURL_PC_LIBS=