Mesa (master): r600g: Fix build when libdrm is installed to non-standard dir.
Tom Stellard
tstellar at kemper.freedesktop.org
Thu Feb 23 01:42:02 UTC 2012
Module: Mesa
Branch: master
Commit: 132daa87fbb78f136de3e7c6e7823ada652a70cf
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=132daa87fbb78f136de3e7c6e7823ada652a70cf
Author: Satyajit Sarangi <satyajit.sarangi at gmail.com>
Date: Mon Feb 20 01:17:56 2012 -0500
r600g: Fix build when libdrm is installed to non-standard dir.
Signed-off-by: Satyajit Sarangi<kernel.saty at gmail.com>
Signed-off-by: Tom Stellard <tstellar 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
More information about the mesa-commit
mailing list