Re: libcurl in libpq.pc - Mailing list pgsql-hackers

From Jacob Champion
Subject Re: libcurl in libpq.pc
Date
Msg-id CAOYmi+=n84h7UDD-XUWYCNiMY7ZitmGpOqKFR1ie7PzzQejPDw@mail.gmail.com
Whole thread Raw
In response to Re: libcurl in libpq.pc  (Jacob Champion <jacob.champion@enterprisedb.com>)
List pgsql-hackers
On Mon, May 12, 2025 at 8:49 AM Jacob Champion
<jacob.champion@enterprisedb.com> wrote:
>
> On Mon, May 12, 2025 at 3:50 AM Christoph Berg <myon@debian.org> wrote:
> > Since nothing in libpq should need curl for compiling, should we drop
> > it there instead?
>
> The static build (libpq.a) still needs libcurl. The module is only
> compiled for use by the shared library.

Sorry, typing too fast in the airport. The _clients_ of libpq.a still
need libcurl, after they link libpq-oauth.a for the missing symbols.
Isn't that what Requires.private is for?

--Jacob



pgsql-hackers by date:

Previous
From: Jacob Champion
Date:
Subject: Re: libcurl in libpq.pc
Next
From: Tom Lane
Date:
Subject: Re: Useless LEFT JOIN breaks MIN/MAX optimization