From e1044b40822cdda1fec39af5a64f332934f2e7ea Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sun, 19 Feb 2012 19:37:30 -0500 Subject: [PATCH] r300g: Fix build when libdrm is installed to non-standard dir --- src/gallium/drivers/r300/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/r300/Makefile b/src/gallium/drivers/r300/Makefile index 5f56fc458b3..6346ab1b7a4 100644 --- a/src/gallium/drivers/r300/Makefile +++ b/src/gallium/drivers/r300/Makefile @@ -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 \ -- 2.30.2