summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-01-18 12:00:37 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-01-20 01:30:29 +0000
commit293e10ec8144bbd8d06c720664d7c12bba942ad0 (patch)
treea82d699c05d1eccd21c08d9b283393883e50d16e /src/core
parentcce03b277715210d152d714a7f46ce7947c812d3 (diff)
Add xkbfile to pkgconfig
To get the correct includes if they are less standard Fixes: QTBUG-99890 Change-Id: Ibd751d46dce7e00e4ce8433549e778d4814dae30 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 52f0ca90445c633c68694fde84b4630a13c3c14e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ozone/BUILD.gn7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/ozone/BUILD.gn b/src/core/ozone/BUILD.gn
index e0f9b8a41..d1cc5c03b 100644
--- a/src/core/ozone/BUILD.gn
+++ b/src/core/ozone/BUILD.gn
@@ -5,8 +5,8 @@ import("//ui/base/ui_features.gni")
import("//build/config/linux/pkg_config.gni")
if (use_xkbcommon) {
- pkg_config("xkbcommon") {
- packages = [ "xkbcommon" ]
+ pkg_config("xkb") {
+ packages = [ "xkbcommon", "xkbfile" ]
}
}
@@ -28,8 +28,7 @@ source_set("qt") {
defines = [ "OZONE_IMPLEMENTATION" ]
libs = []
if (use_xkbcommon) {
- configs += [ ":xkbcommon" ]
- libs += [ "xkbfile" ]
+ configs += [ ":xkb" ]
}
if (ozone_platform_x11) {