Re: Include files for static VC libpq.lib - Mailing list pgsql-hackers-win32

From Magnus Hagander
Subject Re: Include files for static VC libpq.lib
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE4766C3@algol.sollentuna.se
Whole thread Raw
In response to Include files for static VC libpq.lib  ("Edin Kadribasic" <edink@emini.dk>)
Responses Re: Include files for static VC libpq.lib  (Edin Kadribasic <edink@emini.dk>)
List pgsql-hackers-win32
>> FWIW, you can build the VC libs from the DEF file - we do so in the
>> installer. You just run
>>
>> LINK /LIB /MACHINE:x86 /def:libpqdll.def /out:libpq.lib
>/name:libpq.dll
>
>This would create dynamic lib (needing libpq.dll for the app), right?

Correct.

>PHP distribution has too many dlls alredy which is why I'm compiling
>php_pgsql.dll with the libpq built in.

Ok. Then you have no choice but building MSVC. But then you shouldn't
need to copy the includefiles - can't you just use them directly from
the source tree?

//Magnus

pgsql-hackers-win32 by date:

Previous
From: Edin Kadribasic
Date:
Subject: Re: Include files for static VC libpq.lib
Next
From: Edin Kadribasic
Date:
Subject: Re: Include files for static VC libpq.lib