[oe] [meta-oe][PATCH 2/2] libvncserver: fix configure argument on openssl when disabled
Maxime Roussin-Bélanger
maxime.roussinbelanger at gmail.com
Mon Jan 21 22:12:43 UTC 2019
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 <maxime.roussinbelanger at gmail.com>
---
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
More information about the Openembedded-devel
mailing list