Browse Source

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 <dbn.lists@gmail.com>
tags/mesa-7.9-rc1
Dan Nicholson 15 years ago
parent
commit
de4ee20578
2 changed files with 4 additions and 2 deletions
  1. 2
    1
      src/gallium/state_trackers/glx/xlib/Makefile
  2. 2
    1
      src/gallium/winsys/xlib/Makefile

+ 2
- 1
src/gallium/state_trackers/glx/xlib/Makefile View File

@@ -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 \

+ 2
- 1
src/gallium/winsys/xlib/Makefile View File

@@ -6,7 +6,8 @@ LIBNAME = ws_xlib
LIBRARY_INCLUDES = \
-I$(TOP)/src/gallium/include \
-I$(TOP)/src/gallium/drivers \
-I$(TOP)/src/gallium/auxiliary
-I$(TOP)/src/gallium/auxiliary \
$(X_CFLAGS)

C_SOURCES = \
xlib_sw_winsys.c

Loading…
Cancel
Save