Skip to content

Commit 91c81eb

Browse files
authored
Fix linking issue (missing wayland-client library) (flutter#21408)
As fl_renderer_wayland.cc uses directly some of the wayland-client related functions it should also add this library as a dependency.
1 parent e78e405 commit 91c81eb

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

shell/platform/linux/BUILD.gn

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,10 @@ source_set("flutter_linux_sources") {
8080
"fl_standard_message_codec_private.h",
8181
]
8282

83-
configs += [ "//flutter/shell/platform/linux/config:gtk" ]
83+
configs += [
84+
"//flutter/shell/platform/linux/config:gtk",
85+
"//flutter/shell/platform/linux/config:wayland-client",
86+
]
8487

8588
sources = [
8689
"egl_utils.cc",

shell/platform/linux/config/BUILD.gn

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,7 @@ pkg_config("egl") {
2222
pkg_config("wayland-egl") {
2323
packages = [ "wayland-egl" ]
2424
}
25+
26+
pkg_config("wayland-client") {
27+
packages = [ "wayland-client" ]
28+
}

0 commit comments

Comments
 (0)