On Thursday 05 of November 2009 23:32:43 David Byron wrote:
> Here's what I came up with. I tested these three scenarios on linux:
>
> 1. --with-ssl
> 2. --with-ssl PKG_CONFIG_PATH=<some special openssl pkgconfig directory>
> 3. --with-ssl=<some special openssl directory>
>
> #1 and #2 worked before the patch. All three work after the patch and use
> pkg-config to grab the correct info to link against the desired openssl.
>
> In general the patch feels OK, but I'm not sure that I really needed to
> export PKG_CONFIG_LIBDIR. Just assigning it wasn't enough though.
> Changing PKG_CONFIG_PATH helped when the specified path was correct, but if
> it wasn't, pkg-config still looked in the default location. Setting
> PKG_CONFIG_LIBDIR got pkg-config to only look in the specified place.
Thanks for writing the patch! At first glance I am pretty scared by the number
of deleted lines in the original code :-) Are you sure they were redundant?
It will take me more time to digest the patch. But one simple question for
now - is it going to work well when there is no pkg-config available on the
system?
Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-05