From 16f0aff1a22086eec39b4a157b46860aedf464a8 Mon Sep 17 00:00:00 2001 From: Damian Wrobel Date: Tue, 20 Oct 2020 14:47:40 +0200 Subject: [PATCH] Fix linking issue (missing wayland-client library) (flutter/engine#21408) As fl_renderer_wayland.cc uses directly some of the wayland-client related functions it should also add this library as a dependency. --- engine/src/flutter/shell/platform/linux/BUILD.gn | 5 ++++- engine/src/flutter/shell/platform/linux/config/BUILD.gn | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/engine/src/flutter/shell/platform/linux/BUILD.gn b/engine/src/flutter/shell/platform/linux/BUILD.gn index 523ea11948..31dd919bcc 100644 --- a/engine/src/flutter/shell/platform/linux/BUILD.gn +++ b/engine/src/flutter/shell/platform/linux/BUILD.gn @@ -80,7 +80,10 @@ source_set("flutter_linux_sources") { "fl_standard_message_codec_private.h", ] - configs += [ "//flutter/shell/platform/linux/config:gtk" ] + configs += [ + "//flutter/shell/platform/linux/config:gtk", + "//flutter/shell/platform/linux/config:wayland-client", + ] sources = [ "egl_utils.cc", diff --git a/engine/src/flutter/shell/platform/linux/config/BUILD.gn b/engine/src/flutter/shell/platform/linux/config/BUILD.gn index 77402c5315..a50518f973 100644 --- a/engine/src/flutter/shell/platform/linux/config/BUILD.gn +++ b/engine/src/flutter/shell/platform/linux/config/BUILD.gn @@ -22,3 +22,7 @@ pkg_config("egl") { pkg_config("wayland-egl") { packages = [ "wayland-egl" ] } + +pkg_config("wayland-client") { + packages = [ "wayland-client" ] +}