diff --git a/conf/distro/include/tls-lib.inc b/conf/distro/include/tls-lib.inc new file mode 100644 index 0000000..41ffa7b --- /dev/null +++ b/conf/distro/include/tls-lib.inc @@ -0,0 +1,3 @@ +PYCURL_SSL_LIBRARY_pn-pycurl = "openssl" +PACKAGECONFIG_append_pn-curl = " ssl" +PACKAGECONFIG_remove_pn-curl = "gnutls" diff --git a/conf/distro/netmodule-linux.conf b/conf/distro/netmodule-linux.conf index 334a1a8..5d4ac16 100644 --- a/conf/distro/netmodule-linux.conf +++ b/conf/distro/netmodule-linux.conf @@ -1,4 +1,5 @@ inherit += "externalgitsrc" +require include/tls-lib.inc DISTRO = "netmodule-linux" DISTRO_NAME = "NetModule Linux Distribution" diff --git a/recipes-devtools/python/python-pycurl.inc b/recipes-devtools/python/python-pycurl.inc index ac9a370..90209fd 100644 --- a/recipes-devtools/python/python-pycurl.inc +++ b/recipes-devtools/python/python-pycurl.inc @@ -19,6 +19,7 @@ SRC_URI[sha256sum] = "6f08330c5cf79fa8ef68b9912b9901db7ffd34b63e225dce74db56bb21 inherit pypi PYPI_PACKAGE = "pycurl" +PYCURL_SSL_LIBRARY ??= "openssl" DEPENDS = "\ curl \