Re: [patch] build issues on Win32

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dag-Erling Smørgrav <des@des.no>
Cc: Magnus Hagander <magnus@hagander.net>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2010-03-10T17:08:26Z
Lists: pgsql-hackers
=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> writes:
> Magnus Hagander <magnus@hagander.net> writes:
>> 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...

It builds for everybody else (and we do have multiple mingw machines in
the buildfarm, so it's not like this doesn't get tested).  I think there
is some other factor involved here, and you need to identify what that
is.

			regards, tom lane