r300g: Fix build when libdrm is installed to non-standard dir
authorTom Stellard <tstellar@gmail.com>
Mon, 20 Feb 2012 00:37:30 +0000 (19:37 -0500)
committerTom Stellard <tstellar@gmail.com>
Mon, 20 Feb 2012 00:40:32 +0000 (19:40 -0500)
src/gallium/drivers/r300/Makefile

index 5f56fc458b3d56f4958b40fc5a94dd8fd3861ffc..6346ab1b7a44dd90f3681cecb33dc7e8b335edbd 100644 (file)
@@ -11,6 +11,8 @@ C_SOURCES += \
        $(TOP)/src/glsl/ralloc.c \
        $(TOP)/src/mesa/program/register_allocate.c
 
+#This is for libdrm include path
+CFLAGS+=$(RADEON_CFLAGS)
 
 LIBRARY_INCLUDES = \
        -I$(TOP)/include \