Dave Page wrote:
Florian G. Pflug wrote:
Dave Page wrote:
Florian G. Pflug wrote:
I'm currently thinking that unconditionally adding the output
of pg_config --libs to LIBS if linking statically might
be a better approach - thoughts?
That whole section of the file seems a bit kooky to me - it does some
weird stuff on Solaris as well.
pg_config --libs does output more than we need for libpq though, so I'm
a little loathe to use it - what about just conditionally adding the
-lssl, if you can grep it form the pg_config output?
Yeah - realized that too, seconds after I mailed..
The problem with grepping for -lssl is that AFAIK some
plattforms need more than -lssl (Like -lcrypto). So
if we're going that way, we won't get rid of all that
plattform-specific uglyness in that section.
Maybe removing those libs from the output of pg_config that
we surely don't need or want (like -lpgport) is workable
alternative?
Yeah, that sounds reasonable.
I'll try to do that, and try to cleanup that part of acinclude.m4.
greetings, Florian Pflug
---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster