From 293e10ec8144bbd8d06c720664d7c12bba942ad0 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Tue, 18 Jan 2022 12:00:37 +0100 Subject: Add xkbfile to pkgconfig To get the correct includes if they are less standard Fixes: QTBUG-99890 Change-Id: Ibd751d46dce7e00e4ce8433549e778d4814dae30 Reviewed-by: Peter Varga (cherry picked from commit 52f0ca90445c633c68694fde84b4630a13c3c14e) Reviewed-by: Qt Cherry-pick Bot --- src/core/ozone/BUILD.gn | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/core/ozone') 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) { -- cgit v1.2.3