Re: [patch] build issues on Win32

Поиск
Список
Период
Сортировка
От Dag-Erling Smørgrav
Тема Re: [patch] build issues on Win32
Дата
Msg-id 86pr3c2kv0.fsf@ds4.des.no
обсуждение исходный текст
Ответ на Re: [patch] build issues on Win32  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: [patch] build issues on Win32  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
>  Dag-Erling Smørgrav <des@des.no> writes:
> > Your users might need to link with both.  I'm working on an
> > application that generates animations (specifically, animated
> > weather forecasts) based on data retrieved from a PostgreSQL
> > database.
> This shows up only with static links of libpq, correct?

Yes.

> But the fix seems wrong. If you are using a static libpq, the library
> should be added whenever you link that library into your client
> application. Not for every single EXE and DLL that postgres produces.

Without this patch, pg_ctl fails to build...  and I don't see the logic
of including ws2_32 in LIBS but not secur32.  remember that LIBS
directly affects what pg_config reports, so if you don't add secur32 to
LIBS, consumers (applications) don't know that they need it.

DES
--
Dag-Erling Smørgrav - des@des.no


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [patch] build issues on Win32
Следующее
От: Dag-Erling Smørgrav
Дата:
Сообщение: Re: [patch] build issues on Win32