]> 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>
Sat, 14 Oct 2017 12:27:15 +0000 (14:27 +0200)
commitb2609e56d6a4095d1b49e15c09191ac7a3232738
tree513792652270d0a5e193e3e5450050fa7b3b6ca4
parent65883534171c1605a7edbb8eb081d4b10f74336d
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