From 0825daf2edb16b8ecfa153b438fecdb5835d7a7d Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 21 Feb 2022 20:16:36 +0100 Subject: [PATCH] PipeWire capturer: search for epoxy headers We actually use headers from libepoxy (it's part of the sysroot) so this was removed accicentally in one of previous changes and it just magically worked as we include those headers with their full path Bug: webrtc:13429 Change-Id: I4f5684521a76287a725272ce3833daae673d9332 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/252002 Reviewed-by: Alexander Cooper Commit-Queue: Alexander Cooper Cr-Commit-Position: refs/heads/main@{#36073} --- modules/desktop_capture/BUILD.gn | 5 +++++ 1 file changed, 5 insertions(+) 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", ]