]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
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>
Mon, 16 Oct 2017 21:16:45 +0000 (23:16 +0200)
commitcfbe2b048ebef6cae58bbb6e5f0307a16025b2d2
tree98b3b70af34e0b051162298013e96a7cb57b6b91
parent3d16ec83c116bb7b7b0c161cd21347e0278d42ed
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>
(cherry picked from commit 10e998e7ccc827c53f3637abb70a06f1521e239e)
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