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:
> 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?

Not really. The layout is changed by make install so for example 
libpq-fe.h gets installed in $prefix/include while in the source tree 
its at src/interfaces/libpq. The layout of include files is major 
headache. Take pg_type.h for example.

RPM installs it at:
$prefix/include/pgsql/server/catalog

"make install" on unix:
$prefix/include/postgresql/server/catalog

"make install" on windows with mingw:
$prefix/include/server/catalog

libpq-fe.h is installed in $prefix/include in all 3 cases.

Edin



---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
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.