Mesa (master): gbm: Fix gallium build when X11 is in a non-system directory

Eric Anholt anholt at kemper.freedesktop.org
Tue Sep 2 21:48:07 UTC 2014


Module: Mesa
Branch: master
Commit: 1718ba30e560d4b083ee5379b84d190315fd998f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1718ba30e560d4b083ee5379b84d190315fd998f

Author: Eric Anholt <eric at anholt.net>
Date:   Fri Jul 18 16:25:45 2014 -0700

gbm: Fix gallium build when X11 is in a non-system directory

pipe-loader.h will include Xlib.h when HAVE_PIPE_LOADER_XLIB is set in the
build.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>

---

 src/gallium/state_trackers/gbm/Makefile.am |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/state_trackers/gbm/Makefile.am b/src/gallium/state_trackers/gbm/Makefile.am
index 4d9f3fe..50995b3 100644
--- a/src/gallium/state_trackers/gbm/Makefile.am
+++ b/src/gallium/state_trackers/gbm/Makefile.am
@@ -25,6 +25,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
 
 AM_CFLAGS = \
 	$(GALLIUM_CFLAGS) \
+	$(X11_INCLUDES) \
 	$(VISIBILITY_CFLAGS)
 
 AM_CPPFLAGS = \




More information about the mesa-commit mailing list