summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/Makefile
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-01-17 15:41:49 +1000
committerDave Airlie <[email protected]>2011-01-17 15:42:34 +1000
commit2bf52e7c28e6d48374c3c4314e06e3600d7f668a (patch)
tree8419cf078ce71809a26f4bef9c47c10f35538149 /src/gallium/drivers/nv50/Makefile
parentef3b8042e00fa4ac371f61b0832d1d5e73cff52f (diff)
nouveau: fix build against out of tree libdrm
For doing builds against a separated libdrm these cflags are needed. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nv50/Makefile')
-rw-r--r--src/gallium/drivers/nv50/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/Makefile b/src/gallium/drivers/nv50/Makefile
index bf1e8201a08..b3535c0976e 100644
--- a/src/gallium/drivers/nv50/Makefile
+++ b/src/gallium/drivers/nv50/Makefile
@@ -29,4 +29,7 @@ C_SOURCES = \
nv50_pc_optimize.c \
nv50_pc_regalloc.c
+LIBRARY_INCLUDES = \
+ $(LIBDRM_CFLAGS)
+
include ../../Makefile.template