From: | Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com> |
---|---|
To: | Christoph Berg <myon(at)debian(dot)org> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Wolfgang Walther <walther(at)technowledgy(dot)de>, Timo Röhling <roehling(at)debian(dot)org> |
Subject: | Re: libcurl in libpq.pc |
Date: | 2025-09-23 21:57:34 |
Message-ID: | CAOYmi+mEyaXG_AA5uv=oCCa1ci8cg1aA69n-Esyc1y1s955CEQ@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Sep 23, 2025 at 2:15 PM Jacob Champion
<jacob(dot)champion(at)enterprisedb(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Matheus Alcantara | 2025-09-23 22:39:57 | Re: LISTEN/NOTIFY bug: VACUUM sets frozenxid past a xid in async queue |
Previous Message | Tom Lane | 2025-09-23 21:27:37 | Re: plan shape work |