Bob Rossi
Mon, 19 May 2008 14:25:20 -0700
On Mon, May 19, 2008 at 04:22:18PM -0500, William A. Rowe, Jr. wrote: > Bojan Smojver wrote: >> On Mon, 2008-05-19 at 16:07 -0400, Bob Rossi wrote: >> >>> You know, I really think you should be using the --libs there. What >>> could the downside be? It's not like you need to add all the --libs to >>> the apr libs. It's just setup temporarily to get the -lpq to link. >> >> This returns libraries that were used to build PostgreSQL, not the ones >> that are required to link to -lpq. So, I'm just worried that it is >> inaccurate. > > Well I'd rather it include more libraries than needed (which are not bound > on more sophisticated linkers) than an insufficient number. Second guessing > the particular dependencies per platform is bound to leave us with a max of > 10 or so supported platforms, whereas pg_config is more reliable. > > If you are unhappy with its --libs flags, I really think that's something to > take up with the maintainers, eh? I sent an email to the postgresql guys already, with the concerns posted by Bojan, I'll let you know the response when I get it. Bob Rossi