diff --git a/modules/desktop_capture/BUILD.gn b/modules/desktop_capture/BUILD.gn index 27e35b5f4b..a3fb138e63 100644 --- a/modules/desktop_capture/BUILD.gn +++ b/modules/desktop_capture/BUILD.gn @@ -179,6 +179,7 @@ if (rtc_include_tests) { if (is_linux || is_chromeos) { sources += [ "screen_drawer_linux.cc" ] + libs = [ "X11" ] } if (is_mac) {