Permalink
Browse files

curl: Fix bug causing cacert (/etc/ssl/cacert.pem) to not be installed

  • Loading branch information...
esben committed Dec 19, 2018
1 parent e4bb2e0 commit 7be197cb1d97052656a9042ede3a647ac81f2970
Showing with 1 addition and 6 deletions.
  1. +1 −6 recipes/curl/curl.inc
@@ -24,6 +24,7 @@ EXTRA_OECONF_IPV6:USE_curl_ipv6 = "--enable-ipv6"

RECIPE_FLAGS += "curl_ssl"
DEPENDS:>USE_curl_ssl = " libssl libcrypto"
DEPENDS_${PN}:>USE_curl_ssl = " libssl libcrypto"
RDEPENDS_${PN}:>USE_curl_ssl = " libssl libcrypto cacert"
EXTRA_OECONF:>USE_curl_ssl = " --with-ssl"
EXTRA_OECONF:>USE_curl_ssl += "--with-ca-bundle=${sysconfdir}/ssl/cacert.pem"
@@ -68,9 +69,3 @@ RDEPENDS_${PN} += "libc libgcc"
DEPENDS_${PN}-curl = "libc libcurl"
RDEPENDS_${PN}-curl = "libc libcurl"

RECIPE_FLAGS += "curl_ssl"
DEPENDS:>USE_curl_ssl = " libssl libcrypto"
DEPENDS_${PN}:>USE_curl_ssl = " libssl libcrypto"
RDEPENDS_${PN}:>USE_curl_ssl = " libssl libcrypto"

EXTRA_OECONF:>USE_curl_ssl += " --with-ssl"

0 comments on commit 7be197c

Please sign in to comment.