Mesa (master): r300g: Fix build when libdrm is installed to non-standard dir
Tom Stellard
tstellar at kemper.freedesktop.org
Mon Feb 20 00:41:32 UTC 2012
Module: Mesa
Branch: master
Commit: e1044b40822cdda1fec39af5a64f332934f2e7ea
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1044b40822cdda1fec39af5a64f332934f2e7ea
Author: Tom Stellard <tstellar at gmail.com>
Date: Sun Feb 19 19:37:30 2012 -0500
r300g: Fix build when libdrm is installed to non-standard dir
---
src/gallium/drivers/r300/Makefile | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/r300/Makefile b/src/gallium/drivers/r300/Makefile
index 5f56fc4..6346ab1 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 \
More information about the mesa-commit
mailing list