When openssl is not included in the PACKAGECONFIG it
shouldn't try to compile with openssl.

libvncserver CMakeLists.txt activates all of its options and
tries to find libssl.so. CMake finds it inside the native
sysroot which could be the wrong architecture when linking.

Signed-off-by: Maxime Roussin-Bélanger <[email protected]>
---
 meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb 
b/meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb
index d8f51c751d..b493f7f01e 100644
--- a/meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb
+++ b/meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb
@@ -17,7 +17,7 @@ PACKAGECONFIG ??= " \
 PACKAGECONFIG[gcrypt] = ",,libgcrypt,libgcrypt"
 PACKAGECONFIG[gnutls] = ",,gnutls"
 PACKAGECONFIG[jpeg] = ",-DWITH_JPEG=OFF,jpeg"
-PACKAGECONFIG[openssl] = ",,openssl"
+PACKAGECONFIG[openssl] = ",-DWITH_OPENSSL=OFF,openssl"
 PACKAGECONFIG[png] = ",-DWITH_PNG=OFF,libpng,libpng"
 PACKAGECONFIG[systemd] = ",,systemd"
 PACKAGECONFIG[sdl] = ",,libsdl2"
-- 
2.20.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to