comparison src/curl.mk @ 4248:64063cd35eb2

curl: enable winssl if compiling for windows * src/curl.mk: add --with-winssl to configure options if compiling for windows
author John D
date Tue, 15 Nov 2016 20:18:19 -0500
parents 8a01ad4817a1
children c5723e39a80e
comparison
equal deleted inserted replaced
4247:366dc3466a3a 4248:64063cd35eb2
7 $(PKG)_CHECKSUM := 04b04d6bfb868de6a9e8dba647fe83ed216e9243 7 $(PKG)_CHECKSUM := 04b04d6bfb868de6a9e8dba647fe83ed216e9243
8 $(PKG)_SUBDIR := curl-$($(PKG)_VERSION) 8 $(PKG)_SUBDIR := curl-$($(PKG)_VERSION)
9 $(PKG)_FILE := curl-$($(PKG)_VERSION).tar.lzma 9 $(PKG)_FILE := curl-$($(PKG)_VERSION).tar.lzma
10 $(PKG)_URL := http://curl.haxx.se/download/$($(PKG)_FILE) 10 $(PKG)_URL := http://curl.haxx.se/download/$($(PKG)_FILE)
11 $(PKG)_DEPS := gnutls libidn libssh2 11 $(PKG)_DEPS := gnutls libidn libssh2
12
13 $(PKG)_CONFIGURE_OPTS :=
14 ifeq ($(MXE_WINDOWS_BUILD),yes)
15 $(PKG)_CONFIGURE_OPTS := "--with-winssl"
16 endif
12 17
13 define $(PKG)_UPDATE 18 define $(PKG)_UPDATE
14 $(WGET) -q -O- 'http://curl.haxx.se/download/?C=M;O=D' | \ 19 $(WGET) -q -O- 'http://curl.haxx.se/download/?C=M;O=D' | \
15 $(SED) -n 's,.*curl-\([0-9][^"]*\)\.tar.*,\1,p' | \ 20 $(SED) -n 's,.*curl-\([0-9][^"]*\)\.tar.*,\1,p' | \
16 head -1 21 head -1
20 cd '$(1)' && ./configure \ 25 cd '$(1)' && ./configure \
21 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ 26 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ 27 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
23 $(ENABLE_SHARED_OR_STATIC) \ 28 $(ENABLE_SHARED_OR_STATIC) \
24 --prefix='$(HOST_PREFIX)' \ 29 --prefix='$(HOST_PREFIX)' \
30 $($(PKG)_CONFIGURE_OPTS) \
25 --without-ssl \ 31 --without-ssl \
26 --with-gnutls \ 32 --with-gnutls \
27 --with-libidn \ 33 --with-libidn \
28 --enable-sspi \ 34 --enable-sspi \
29 --enable-ipv6 \ 35 --enable-ipv6 \