* Peter Eisentraut 

| Tollef Fog Heen wrote:
| > it seems like pg_config outputs quite a lot of libraries that should
| > just be pulled in through libpgport being linked with them rather than
| > linking all libs using postgres to them:
| 
| From the man page:
| 
|        --libs Print the value of the LIBS variable that was used for
|        building PostgreSQL. This normally contains -l switches for
|        external libraries linked into PostgreSQL.
|
| It doesn't say anyone else should link against those libraries.
| That would be completely wrong.

What is the use for --libs, then?  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.

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are



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

Reply via email to