[oe] [meta-networking][PATCH] polarssl: add dependency openssl

Mark Hatle mark.hatle at windriver.com
Tue Nov 18 23:12:49 UTC 2014


From: Kai Kang <kai.kang at windriver.com>

polarssl compiles with openssl to build unit test cases. If openssl
doesn't exist, native libssl.so will be used. Then causes error:

| .../bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/libssl.so: error adding symbols: File in wrong format

Add dependency openssl for polarssl to fix it.

Signed-off-by: Kai Kang <kai.kang at windriver.com>
Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
---
 recipes-connectivity/polarssl/polarssl_1.3.8.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-connectivity/polarssl/polarssl_1.3.8.bb b/recipes-connectivity/polarssl/polarssl_1.3.8.bb
index 8ca1b1c..7a496b7 100644
--- a/recipes-connectivity/polarssl/polarssl_1.3.8.bb
+++ b/recipes-connectivity/polarssl/polarssl_1.3.8.bb
@@ -28,6 +28,7 @@ SRC_URI = "https://polarssl.org/download/polarssl-${PV}-gpl.tgz"
 SRC_URI[md5sum] = "d1a2b4f21727e888f143414d2e3144e6"
 SRC_URI[sha256sum] = "318171db41335cacbb5b0047c94f1faf91442ab70a223b5223436703c9406ff1"
 
+DEPENDS = "openssl"
 RDEPENDS_${PN} += "libcrypto"
 EXTRA_OECMAKE = "-DUSE_SHARED_POLARSSL_LIBRARY=on"
 
-- 
1.9.3




More information about the Openembedded-devel mailing list