summaryrefslogtreecommitdiffstats
path: root/src/core/ozone
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ozone')
-rw-r--r--src/core/ozone/BUILD.gn8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/ozone/BUILD.gn b/src/core/ozone/BUILD.gn
index 48d68902f..e0f9b8a41 100644
--- a/src/core/ozone/BUILD.gn
+++ b/src/core/ozone/BUILD.gn
@@ -26,9 +26,13 @@ source_set("qt") {
]
defines = [ "OZONE_IMPLEMENTATION" ]
-
+ libs = []
if (use_xkbcommon) {
configs += [ ":xkbcommon" ]
- libs = [ "xkbfile" ]
+ libs += [ "xkbfile" ]
+ }
+
+ if (ozone_platform_x11) {
+ libs += [ "X11" ]
}
}