summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorDan Nicholson <[email protected]>2010-04-02 06:33:48 -0700
committerDan Nicholson <[email protected]>2010-04-19 20:21:57 -0700
commit4f8bf353bd7e896268e0eb445c61270a8823892a (patch)
tree99fde9ac251099e12566932de637504f39a2ce7a /src/gallium/state_trackers
parent3b693fd93fbddc24360ed345a832387834e0a1fc (diff)
gallium: Respect user's CFLAGS for including X headers
This can break on systems that don't have a system X installation. Signed-off-by: Dan Nicholson <[email protected]> (cherry picked from commit de4ee20578a79e024b0de83c40648112f42c994e) Conflicts: src/gallium/winsys/xlib/Makefile
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/glx/xlib/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/Makefile b/src/gallium/state_trackers/glx/xlib/Makefile
index 7b2adc62c34..8c7cc524dfc 100644
--- a/src/gallium/state_trackers/glx/xlib/Makefile
+++ b/src/gallium/state_trackers/glx/xlib/Makefile
@@ -5,7 +5,8 @@ LIBNAME = xlib
LIBRARY_INCLUDES = \
-I$(TOP)/include \
- -I$(TOP)/src/mesa
+ -I$(TOP)/src/mesa \
+ $(X_CFLAGS)
C_SOURCES = \
glx_api.c \