Tom Bruno wrote:

> However i found the pqxx-config doesn't do what most packages do and
> instead actually gives the linker lines like:
>
> pqxx-config --libs
> output:    -L/usr/local/lib -lpqxx -L/usr/local/lib/libpq -lpq

This script was contributed by Arjen Baart.  Frankly I have no idea what
similar scripts do in other packages, and don't want to mess with
something that may break compatibility...  Could you help me out with a
reference or standard somewhere?

I'll agree it's not very pretty to have the option names in there, but
OTOH it could save a lot of trouble when using multiple libraries--and I
think "-L" is just about universally accepted.  Removing it would
certainly break compatibility with existing Makefiles.

Come to think of it, it might be useful to have e.g. the separate socket
library included there on Windows, or in the future perhaps the ssl
library and/or the threading library of choice.  Also, I think having the
same libpq in there that libpqxx was built against reduces the risk of
version skew between the two libraries.


Jeroen


_______________________________________________
Libpqxx-general mailing list
[EMAIL PROTECTED]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general

Reply via email to