]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
libcurl.pc: add reference to `libgsasl`
authorViktor Szakats <commit@vsz.me>
Thu, 15 Aug 2024 08:41:02 +0000 (10:41 +0200)
committerViktor Szakats <commit@vsz.me>
Thu, 15 Aug 2024 13:30:09 +0000 (15:30 +0200)
Closes #14556

CMakeLists.txt
configure.ac

index c5b465b06e43dc0a98ba0b28332060bd6f9dda0e..04f5b0bbbd5bebfbe85fef169acd645a3cd61855 100644 (file)
@@ -1110,6 +1110,7 @@ if(CURL_USE_GSASL)
   endif()
   if(GSASL_FOUND)
     list(APPEND CURL_LIBS ${GSASL_LINK_LIBRARIES})
+    list(APPEND LIBCURL_PC_REQUIRES_PRIVATE "libgsasl")
     set(USE_GSASL ON)
   endif()
 endif()
index 1c6aefcf2dd86ea3c249069f5f11dc9d61fce8c8..61e5872bcdfbfed8cf3fd8becd5b9ad4955c574a 100644 (file)
@@ -2181,6 +2181,7 @@ if test $with_libgsasl != "no"; then
   AC_SEARCH_LIBS(gsasl_init, gsasl,
     [curl_gsasl_msg="enabled";
      AC_DEFINE([USE_GSASL], [1], [GSASL support enabled])
+     LIBCURL_PC_REQUIRES_PRIVATE="$LIBCURL_PC_REQUIRES_PRIVATE libgsasl"
      ],
     [curl_gsasl_msg="no      (libgsasl not found)";
      AC_MSG_WARN([libgsasl was not found])