diff --git a/modules/desktop_capture/BUILD.gn b/modules/desktop_capture/BUILD.gn index 03b135bf35..6c855b9c1c 100644 --- a/modules/desktop_capture/BUILD.gn +++ b/modules/desktop_capture/BUILD.gn @@ -228,6 +228,10 @@ if (is_linux || is_chromeos) { pkg_config("egl") { packages = [ "egl" ] } + pkg_config("epoxy") { + packages = [ "epoxy" ] + ignore_libs = true + } pkg_config("libdrm") { packages = [ "libdrm" ] if (!rtc_link_pipewire) { @@ -577,6 +581,7 @@ rtc_library("desktop_capture_generic") { ":pipewire", ":gbm", ":egl", + ":epoxy", ":libdrm", ]