libcurl: replace libidn by libidn2
libidn has been replaced by libidn2 since 7.51.0 (October 2016):
9c91ec7781
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
ffb85a4a16
commit
8451acf298
@ -9,7 +9,6 @@ LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.xz
|
||||
LIBCURL_SITE = https://curl.haxx.se/download
|
||||
LIBCURL_DEPENDENCIES = host-pkgconf \
|
||||
$(if $(BR2_PACKAGE_ZLIB),zlib) \
|
||||
$(if $(BR2_PACKAGE_LIBIDN),libidn) \
|
||||
$(if $(BR2_PACKAGE_RTMPDUMP),rtmpdump)
|
||||
LIBCURL_LICENSE = curl
|
||||
LIBCURL_LICENSE_FILES = COPYING
|
||||
@ -68,6 +67,13 @@ else
|
||||
LIBCURL_CONF_OPTS += --disable-ares
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBIDN2),y)
|
||||
LIBCURL_DEPENDENCIES += libidn2
|
||||
LIBCURL_CONF_OPTS += --with-libidn2
|
||||
else
|
||||
LIBCURL_CONF_OPTS += --without-libidn2
|
||||
endif
|
||||
|
||||
# Configure curl to support libssh2
|
||||
ifeq ($(BR2_PACKAGE_LIBSSH2),y)
|
||||
LIBCURL_DEPENDENCIES += libssh2
|
||||
|
Loading…
Reference in New Issue
Block a user