Re: Include files for static VC libpq.lib

Edin Kadribasic <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Organization Emini ApS
Message-ID <[email protected]>
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

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.