Permalink
Browse files

Merge pull request #593 from esben/curl-cacert-fix

curl: Fix bug causing cacert (/etc/ssl/cacert.pem) to not be installed
  • Loading branch information...
esben committed Jan 2, 2019
2 parents e4bb2e0 + 7be197c commit 8fef9c8be10466143d7d2e23336d73e1980b5c5e
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 8fef9c8

Please sign in to comment.