Use the specified X11 headers for xlib mesa
authorDan Nicholson <dbn.lists@gmail.com>
Wed, 18 Mar 2009 06:33:04 +0000 (23:33 -0700)
committerDan Nicholson <dbn.lists@gmail.com>
Wed, 18 Mar 2009 14:37:08 +0000 (07:37 -0700)
The xlib build was using the system's Xlib headers or bombing if they
weren't available.

src/mesa/drivers/x11/Makefile

index d2780e62c979fa10f64587ce964c5f136712192d..5e427d2d5c6013dbfd1e0b4cd923bbd616a0e952 100644 (file)
@@ -41,7 +41,8 @@ OBJECTS = $(SOURCES:.c=.o)
 INCLUDE_DIRS = \
        -I$(TOP)/include \
        -I$(TOP)/src/mesa \
-       -I$(TOP)/src/mesa/main
+       -I$(TOP)/src/mesa/main \
+       $(X11_INCLUDES)
 
 CORE_MESA = $(TOP)/src/mesa/libmesa.a $(TOP)/src/mesa/libglapi.a