libcurl: fix build without threads
authorBaruch Siach <baruch@tkos.co.il>
Tue, 12 Sep 2017 11:43:58 +0000 (14:43 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 13 Sep 2017 06:22:11 +0000 (08:22 +0200)
commit10e998e7ccc827c53f3637abb70a06f1521e239e
treeaaf3eb0b5af5ac76bbac88d71bcbccb75b02ea89
parent4ce28934434b51680ecd87eb987f4d4915fa4040
libcurl: fix build without threads

When c-ares is not enabled libcurl enables the threaded DNS resolver by
default. Make sure the threaded resolvers is disabled when the toolchain
does not support threads.

Add upstream patch that fixes the configure option for disabling the
threaded resolver.

Fixes:
http://autobuild.buildroot.net/results/39f/39fa63fb2ecb75e4b2521d1ee3dfa357c4e5c594/
http://autobuild.buildroot.net/results/dfd/dfd296086d0d6bed73b92fe2fa4ba5434dddf796/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libcurl/0001-curl-confopts.m4-fix-disable-threaded-resolver.patch [new file with mode: 0644]
package/libcurl/libcurl.mk