diff mbox

[4/4] curl: added support for openssl

Message ID 9671556013b59ed84f926833a553ac798305449c.1412253708.git.sean.nyekjaer@prevas.dk
State Under Review
Delegated to: Kim
Headers show

Commit Message

Sean Nyekjær Oct. 2, 2014, 12:53 p.m. UTC
Signed-off-by: Sean Nyekjaer <sean.nyekjaer@prevas.dk>
---
 recipes/curl/curl.inc       | 7 +++++++
 recipes/curl/curl_7.32.0.oe | 2 ++
 2 files changed, 9 insertions(+)
diff mbox

Patch

diff --git a/recipes/curl/curl.inc b/recipes/curl/curl.inc
index 3e34a63..1b3102e 100644
--- a/recipes/curl/curl.inc
+++ b/recipes/curl/curl.inc
@@ -21,3 +21,10 @@  DEPENDS_${PN} = "libc libgcc"
 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"
diff --git a/recipes/curl/curl_7.32.0.oe b/recipes/curl/curl_7.32.0.oe
index 6b82e21..8e49e2d 100644
--- a/recipes/curl/curl_7.32.0.oe
+++ b/recipes/curl/curl_7.32.0.oe
@@ -1,2 +1,4 @@ 
 require ${PN}.inc
 LICENSE = "MIT-X-style"
+
+LIBRARY_VERSION = "4"