From 84d2f0a9790ca4f28996296ed5486571aa4c178c Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Tue, 18 Nov 2014 17:12:49 -0600 Subject: [PATCH] polarssl: add dependency openssl 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 Signed-off-by: Mark Hatle Signed-off-by: Joe MacDonald --- meta-networking/recipes-connectivity/polarssl/polarssl_1.3.8.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-networking/recipes-connectivity/polarssl/polarssl_1.3.8.bb b/meta-networking/recipes-connectivity/polarssl/polarssl_1.3.8.bb index c95bde17be..8adc0b1b30 100644 --- a/meta-networking/recipes-connectivity/polarssl/polarssl_1.3.8.bb +++ b/meta-networking/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 -DLIB_INSTALL_DIR=${baselib}"