Re: [sword-devel] About what gets linked.....

2009-05-24 Thread Jonathan Marsden
Dmitrijs Ledkovs wrote: > I did some digging and analysis about that link flags are added while > building libsword. ... > 1) Curl. Instead of using curl-config to use PKG_CHECK_MODULES macro This is probably a good solution, and it should be portable. But I'd vote for this happening in SWORD 1

[sword-devel] About what gets linked.....

2009-05-22 Thread Dmitrijs Ledkovs
I did some digging and analysis about that link flags are added while building libsword. For libcurl currently `curl-config --libs` is used. On my machine (Ubuntu jaunty) this command emits following: $ curl-config --libs -lcurl -lidn -llber -lldap -lrt -lgssapi_krb5 -lgssapi_krb5 -lz -lgnutls