From b2480dbeb678ff3417569fdcf4a2b6da495187b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20Roussin-B=C3=A9langer?= Date: Mon, 21 Jan 2019 17:12:43 -0500 Subject: [PATCH] libvncserver: fix configure argument on openssl when disabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Khem Raj --- 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"