From 7a2df582e79e6dedebf904b6f14f47ddb4a72744 Mon Sep 17 00:00:00 2001 From: Zeno Albisser Date: Wed, 5 Mar 2014 15:33:35 +0100 Subject: Override OPENSSLDIR for embedded linux. Boot2Qt will ship openssl configuration and ca certificates in /usr/lib/ssl. At runtime the environment variable SSL_CERT_DIR can be used to override the location for certificates. Change-Id: Ib5a55f0ff6874e497b3ca9163e4a11f3a1805de0 Reviewed-by: Andras Becsi --- src/core/qtwebengine_extras.gypi | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) (limited to 'src') diff --git a/src/core/qtwebengine_extras.gypi b/src/core/qtwebengine_extras.gypi index 8846814b7..bb39116f9 100644 --- a/src/core/qtwebengine_extras.gypi +++ b/src/core/qtwebengine_extras.gypi @@ -45,22 +45,24 @@ ], }, 'conditions': [ - [ 'OS=="linux" and qt_cross_compile==1', { + [ 'qt_os=="embedded_linux"', { 'target_defaults': { + 'defines': [ + 'GL_GLEXT_PROTOTYPES', + 'EGL_EGLEXT_PROTOTYPES', + # At runtime the env variable SSL_CERT_DIR can be used to override this + 'OPENSSLDIR="/usr/lib/ssl"', + 'OPENSSL_LOAD_CONF', + ], + 'defines!': [ + 'OPENSSLDIR="/etc/ssl"', + ], + 'ldflags!': ['