[OE-core] [RFT][PATCH] curl: disable curl-config binconfig file

Andre McCurdy armccurdy at gmail.com
Tue Feb 2 18:40:04 UTC 2016


On Tue, Feb 2, 2016 at 3:23 AM, Burton, Ross <ross.burton at intel.com> wrote:
>
> On 2 February 2016 at 04:18, Andre McCurdy <armccurdy at gmail.com> wrote:
>>
>> Thanks. Unfortunately I don't see a clean solution for this. The
>> setup.py script uses curl-config to determine which ssl implementation
>> curl has been built against and that information isn't available from
>> pkg-config.
>>
>> It's probably fixable with some surgery, but I'm not sure it's worth
>> the maintenance effort just so we can disable curl binconfig...
>>
>> Please drop my "curl: disable curl-config binconfig file" patch.
>
> The feature tests?  That's exposed in pkg-config as the supported_features
> variable.

setup.py actually parses the output of curl-config --libs (ie "-lcurl
-lnettle -lgnutls -lz") to decide which ssl implementation curl has
been built against. There's nothing in curl's pkg-config file which
gives that same information.

A second question is why pycurl thinks it needs to know which ssl
implementation curl is using. I don't think it really does, but fixing
it and then rewriting setup.py is not a trivial patch.

> I wouldn't be surprised if more recipes in meta-oe were using
> curl-config though, so I do agree with you here: moving away from
> curl-config would be good but scoping out the damage in a world build
> including meta-oe needs to be done first.
>
> Ross



More information about the Openembedded-core mailing list