Tollef Fog Heen wrote:
> What is the use for --libs, then?

Probably none, except debugging by upstream developers.  I admit I have heard 
of more people than just you who are confused by this.  We may need to 
clarify this somehow.

> There's currently a discussion on 
> [EMAIL PROTECTED] about how to link in libpq correctly and
> people are proposing to use the output of pg_config --libs.

The correct way is to use pg_config --libdir to find out the correct directory 
(although you may want to omit it if it's /usr/lib), and then link with -lpq.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to