Re: libcurl in libpq.pc

Jacob Champion <jacob.champion@enterprisedb.com>

From: Jacob Champion <jacob.champion@enterprisedb.com>
To: Christoph Berg <myon@debian.org>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Wolfgang Walther <walther@technowledgy.de>, Timo Röhling <roehling@debian.org>
Date: 2025-09-23T21:57:34Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. oauth: Correct missing comma in Requires.private

On Tue, Sep 23, 2025 at 2:15 PM Jacob Champion
<jacob.champion@enterprisedb.com> wrote:
> > That would be in Cflags.private.
>
> Yes.

The FAQ you cite says

> In either case, pkg-config will output the [private dependency's] compiler flags when --static is used or not.

which seems awfully counterproductive, and was apparently
controversial when it was proposed in 2005 [1, 2]. This is why --libs
works and --cflags doesn't. Now that pkg-config's successor supports
Cflags.private, I wonder if there's room to fix these
mutually-conflicting use cases...

--Jacob

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=340904#10
[2] https://bugzilla.gnome.org/show_bug.cgi?id=322240