Merge pull request #8979 from val-kulkov/python-curl

python-curl: remove hardcoded dependency on mbedtls
This commit is contained in:
Hannu Nyman 2019-05-29 19:38:32 +03:00 committed by GitHub
commit e9d59949ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,8 +55,20 @@ $(call Package/python-curl/description)
(Variant for Python3)
endef
ifdef CONFIG_LIBCURL_OPENSSL
PYTHON_PKG_SETUP_ARGS:=--with-openssl
PYTHON3_PKG_SETUP_ARGS:=--with-openssl
endif
ifdef CONFIG_LIBCURL_GNUTLS
PYTHON_PKG_SETUP_ARGS:=--with-gnutls
PYTHON3_PKG_SETUP_ARGS:=--with-gnutls
endif
ifdef CONFIG_LIBCURL_MBEDTLS
PYTHON_PKG_SETUP_ARGS:=--with-mbedtls
PYTHON3_PKG_SETUP_ARGS:=--with-mbedtls
endif
$(eval $(call PyPackage,python-curl))
$(eval $(call BuildPackage,python-curl))