summaryrefslogtreecommitdiffstats
path: root/src
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 00:57:08 +0000
commit9a0e9b43ef660531fd4fa5c3ddf23ff2899ed676 (patch)
tree7d2a616570a5242c62877a13b5311f0b9db76870 /src
parentebe08bc74a25ece42787b1925beb706ec4fbdf1b (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')
-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) {