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

From Edin Kadribasic
Subject Re: Include files for static VC libpq.lib
Date
Msg-id 41F3DDB0.4070506@emini.dk
Whole thread Raw
In response to Re: Include files for static VC libpq.lib  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-hackers-win32
Magnus Hagander wrote:
> There is no such support in the VC Makefiles. It's only supported in the
> MingW build.

Ok, thanks for the info. I just wanted to make sure that I wasn't
missing something and making things more difficult for me.

> 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?
PHP distribution has too many dlls alredy which is why I'm compiling
php_pgsql.dll with the libpq built in.

Edin

pgsql-hackers-win32 by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: Invalid username specified
Next
From: "Magnus Hagander"
Date:
Subject: Re: Include files for static VC libpq.lib