diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-03-06 20:36:57 -0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2022-03-10 09:27:33 +0100 |
commit | 32e6203c8c31ace8eb31e2e8c6de72d5de8cc531 (patch) | |
tree | dcd6a5de262d1c6a0a795746275278622a2e9513 | |
parent | 121c1bfd40519d8ab4186cf2f9228267bc422365 (diff) |
qtwebkit: Fix build when x11 is not in distro features
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | recipes-qt/qt5/qtwebkit_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb index 868d805c..ee69a6a2 100644 --- a/recipes-qt/qt5/qtwebkit_git.bb +++ b/recipes-qt/qt5/qtwebkit_git.bb @@ -52,6 +52,7 @@ ARM_INSTRUCTION_SET:armv7ve = "thumb" # just use -fpermissive in this case like fedora did: # https://bugzilla.redhat.com/show_bug.cgi?id=1582954 CXXFLAGS += "-fpermissive" +CXXFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}" EXTRA_OECMAKE += " \ -DPORT=Qt \ |