[Mesa-dev] [PATCH] st/xvmc: Add X11 include path.
Vinson Lee
vlee at freedesktop.org
Mon Nov 5 18:55:14 UTC 2018
This patch fixes this build error.
CC tests/xvmc_bench.o
In file included from tests/xvmc_bench.c:35:
tests/testlib.h:38:10: fatal error: 'X11/Xlib.h' file not found
^~~~~~~~~~~~
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
src/gallium/state_trackers/xvmc/Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/state_trackers/xvmc/Makefile.am b/src/gallium/state_trackers/xvmc/Makefile.am
index 85d0b5f4953d..ddb2f4b230b6 100644
--- a/src/gallium/state_trackers/xvmc/Makefile.am
+++ b/src/gallium/state_trackers/xvmc/Makefile.am
@@ -28,6 +28,7 @@ AM_CFLAGS = \
$(VISIBILITY_CFLAGS) \
$(VL_CFLAGS) \
$(XCB_DRI3_CFLAGS) \
+ $(X11_INCLUDES) \
$(XVMC_CFLAGS)
noinst_LTLIBRARIES = libxvmctracker.la
--
2.17.1.dropbox.0
More information about the mesa-dev
mailing list