[Mesa-dev] [PATCH] r600g: Fix build when libdrm is installed to non-standard dir.

Satyajit Sarangi kernel.saty at gmail.com
Sun Feb 19 22:17:56 PST 2012


From: Satyajit Sarangi <satyajit.sarangi at gmail.com>

Signed-off-by: Satyajit Sarangi<kernel.saty at gmail.com>
---
 src/gallium/drivers/r600/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/r600/Makefile b/src/gallium/drivers/r600/Makefile
index 80f8cbf..62e760c 100644
--- a/src/gallium/drivers/r600/Makefile
+++ b/src/gallium/drivers/r600/Makefile
@@ -3,6 +3,9 @@ include $(TOP)/configs/current
 
 LIBNAME = r600
 
+#This is for libdrm include path
+CFLAGS+=$(RADEON_CFLAGS)
+
 LIBRARY_INCLUDES = -I$(TOP)/include
 
 # get C_SOURCES
-- 
1.7.5.4



More information about the mesa-dev mailing list