summaryrefslogtreecommitdiffstats
path: root/src/core/ozone
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-01-18 12:00:37 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2022-01-19 18:10:16 +0100
commit52f0ca90445c633c68694fde84b4630a13c3c14e (patch)
tree2ad56afe11572c381f50c9b011d58a24199db2cd /src/core/ozone
parent0b6310bf48cfe9772be6ca2b51c685acce3f4ba6 (diff)
Add xkbfile to pkgconfig
To get the correct includes if they are less standard Pick-to: 6.3 6.2 Fixes: QTBUG-99890 Change-Id: Ibd751d46dce7e00e4ce8433549e778d4814dae30 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'src/core/ozone')
-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 61ca197e5..aa7b282ae 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" ]
}
}
@@ -29,8 +29,7 @@ source_set("qt") {
defines = [ "OZONE_IMPLEMENTATION" ]
libs = []
if (use_xkbcommon) {
- configs += [ ":xkbcommon" ]
- libs += [ "xkbfile" ]
+ configs += [ ":xkb" ]
}
if (ozone_platform_x11) {