summaryrefslogtreecommitdiffstats
path: root/package/qt5/qt5base/qt5base.mk
diff options
context:
space:
mode:
authorJames Grant <jamesg@zaltys.org>2019-03-03 18:51:03 +1300
committerPeter Korsgaard <peter@korsgaard.com>2019-03-04 20:22:57 +0100
commita55aca6a3d565c4fea31e410a8b7f009639f59df (patch)
treeb85322d64ad085d1ce773dcc1129d0ce6f7e6bd7 /package/qt5/qt5base/qt5base.mk
parentb20f8a893f17d139ceafb512f3ccd207770844fe (diff)
downloadbuildroot-a55aca6a3d565c4fea31e410a8b7f009639f59df.tar.gz
buildroot-a55aca6a3d565c4fea31e410a8b7f009639f59df.zip
package/qt5/qt5base: build Qt 5.6 with LibreSSL if present
LibreSSL build is successful with shared linkage, but not default dlopen(). Also adds patch for successful compilation by using -fpermissive. Signed-off-by: James Grant <jamesg@zaltys.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/qt5/qt5base/qt5base.mk')
-rw-r--r--package/qt5/qt5base/qt5base.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk
index a5ce583327..e7f6e658f1 100644
--- a/package/qt5/qt5base/qt5base.mk
+++ b/package/qt5/qt5base/qt5base.mk
@@ -190,7 +190,9 @@ endif
ifeq ($(BR2_PACKAGE_QT5_VERSION_5_6),y)
# No OpenSSL 1.1.x support in Qt 5.6.x
-QT5BASE_CONFIGURE_OPTS += -no-openssl
+# LibreSSL works with shared linkage only and -fpermissive patch
+QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_LIBRESSL),-openssl-linked,-no-openssl)
+QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBRESSL),openssl)
else
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_OPENSSL),-openssl,-no-openssl)
QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_OPENSSL),openssl)
OpenPOWER on IntegriCloud