Browse Source

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

python-curl: remove hardcoded dependency on mbedtls
lilik-openwrt-22.03
Hannu Nyman 6 years ago
committed by GitHub
parent
commit
e9d59949ce
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 2 deletions
  1. +14
    -2
      lang/python/python-curl/Makefile

+ 14
- 2
lang/python/python-curl/Makefile View File

@ -55,8 +55,20 @@ $(call Package/python-curl/description)
(Variant for Python3)
endef
PYTHON_PKG_SETUP_ARGS:=--with-mbedtls
PYTHON3_PKG_SETUP_ARGS:=--with-mbedtls
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))


Loading…
Cancel
Save