summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2017-08-14 19:12:41 (GMT)
committerMark Brand <mabrand@mabrand.nl>2017-08-14 19:43:01 (GMT)
commit35ea9a89baa181a253689a166092819e9e280fae (patch)
treeff14defcc76dfe99e4c1adf960aed10b1c2e6cc0 /src
parenta008e046c6695b7185a3571293ce3dfe19f8f1de (diff)
downloadmxe-35ea9a89baa181a253689a166092819e9e280fae.zip
mxe-35ea9a89baa181a253689a166092819e9e280fae.tar.gz
mxe-35ea9a89baa181a253689a166092819e9e280fae.tar.bz2
update curl
Curl 7.55.1 configures threaded resolver backend by default, which introduces pthreads dependency. https://github.com/curl/curl/pull/1647/commits
Diffstat (limited to 'src')
-rw-r--r--src/curl.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/curl.mk b/src/curl.mk
index 47fa1a1..716bf1e 100644
--- a/src/curl.mk
+++ b/src/curl.mk
@@ -4,12 +4,12 @@ PKG := curl
$(PKG)_WEBSITE := https://curl.haxx.se/libcurl/
$(PKG)_DESCR := cURL
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 7.55.0
-$(PKG)_CHECKSUM := cdd58522f8607fd4e871df79d73acb3155075e2134641e5adab12a0962df059d
+$(PKG)_VERSION := 7.55.1
+$(PKG)_CHECKSUM := 3eafca6e84ecb4af5f35795dee84e643d5428287e88c041122bb8dac18676bb7
$(PKG)_SUBDIR := curl-$($(PKG)_VERSION)
$(PKG)_FILE := curl-$($(PKG)_VERSION).tar.xz
$(PKG)_URL := https://curl.haxx.se/download/$($(PKG)_FILE)
-$(PKG)_DEPS := gcc gnutls libidn2 libssh2
+$(PKG)_DEPS := gcc gnutls libidn2 libssh2 pthreads
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://curl.haxx.se/download/?C=M;O=D' | \
@@ -25,7 +25,8 @@ define $(PKG)_BUILD
--with-libidn2 \
--enable-sspi \
--enable-ipv6 \
- --with-libssh2
+ --with-libssh2 \
+ LIBS=`'$(TARGET)-pkg-config' pthreads --libs`
$(MAKE) -C '$(1)' -j '$(JOBS)' install $(MXE_DISABLE_DOCS)
ln -sf '$(PREFIX)/$(TARGET)/bin/curl-config' '$(PREFIX)/bin/$(TARGET)-curl-config'