summaryrefslogtreecommitdiffstats
path: root/src/core/config/linux.pri
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-09-16 12:04:52 +0200
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-10-12 15:23:41 +0000
commit4654fd86fb5de097a8ad271c2f53e99e19c36c93 (patch)
treec8196e9508db73e1b947c298ba06de8c870fd110 /src/core/config/linux.pri
parent3b1faa91c3e8ee4b7fb602b0b476d4deda235378 (diff)
Make NSS vs BoringSSL choice more flexible
Make the NSS library optional on Linux to reduce the hard coded difference between embedded and desktop builds. Change-Id: I3d7f703ead0ff325ffd2ae272e7e4c2d5258fc25 Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'src/core/config/linux.pri')
-rw-r--r--src/core/config/linux.pri6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/config/linux.pri b/src/core/config/linux.pri
index 4c2e70daf..803043c50 100644
--- a/src/core/config/linux.pri
+++ b/src/core/config/linux.pri
@@ -18,6 +18,12 @@ GYP_CONFIG += \
use_kerberos=0 \
use_pango=0
+!config_system_nss {
+ GYP_CONFIG += use_nss_certs=0 \
+ use_openssl=1 \
+ use_openssl_certs=1
+}
+
contains(QT_CONFIG, system-zlib): config_system_minizip: GYP_CONFIG += use_system_zlib=1
contains(QT_CONFIG, system-png): GYP_CONFIG += use_system_libpng=1
contains(QT_CONFIG, system-jpeg): GYP_CONFIG += use_system_libjpeg=1