Re: libcurl in libpq.pc

Поиск
Список
Период
Сортировка
От Jacob Champion
Тема Re: libcurl in libpq.pc
Дата
Msg-id CAOYmi+mWisr3fqOsxtii+OUBaECmUhivAdWMGDjFOSPFMufyaA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: libcurl in libpq.pc  (Christoph Berg <myon@debian.org>)
Ответы Re: libcurl in libpq.pc
Список pgsql-hackers
On Tue, Sep 23, 2025 at 12:42 PM Christoph Berg <myon@debian.org> wrote:
> Maybe by the letter, but I think we have a real problem and need to do
> something.

If I break Wolfgang's use case again, we will still have a real problem.

> > I think we can't avoid it; if anyone wants to get Windows support
> > working they'll need -DCURL_STATICLIB as provided by libcurl.pc.
>
> That would be in Cflags.private.

Yes.

> > > $ pkgconf --libs --static libpq
> > > -lpq -lpgcommon -lpgport -lpq-oauth -lssl -lcrypto -lgssapi_krb5 -lm -lldap -lcurl -lssl -lz -lzstd -ldl -pthread
-lcrypto-lz -lzstd -ldl -pthread 
> >
> > Prettier, but wrong? I don't think that's going to link, is it?
>
> Wrong how?

It doesn't link. You'll be missing an incredible number of symbols.

--Jacob



В списке pgsql-hackers по дате отправления: