libcurl.pc: add reference to libgsasl

Closes #14556
This commit is contained in:
Viktor Szakats 2024-08-15 10:41:02 +02:00
parent b042d5297d
commit ef1d606d1b
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201
2 changed files with 2 additions and 0 deletions

View File

@ -1110,6 +1110,7 @@ if(CURL_USE_GSASL)
endif() endif()
if(GSASL_FOUND) if(GSASL_FOUND)
list(APPEND CURL_LIBS ${GSASL_LINK_LIBRARIES}) list(APPEND CURL_LIBS ${GSASL_LINK_LIBRARIES})
list(APPEND LIBCURL_PC_REQUIRES_PRIVATE "libgsasl")
set(USE_GSASL ON) set(USE_GSASL ON)
endif() endif()
endif() endif()

View File

@ -2181,6 +2181,7 @@ if test $with_libgsasl != "no"; then
AC_SEARCH_LIBS(gsasl_init, gsasl, AC_SEARCH_LIBS(gsasl_init, gsasl,
[curl_gsasl_msg="enabled"; [curl_gsasl_msg="enabled";
AC_DEFINE([USE_GSASL], [1], [GSASL support 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)"; [curl_gsasl_msg="no (libgsasl not found)";
AC_MSG_WARN([libgsasl was not found]) AC_MSG_WARN([libgsasl was not found])