From 2bf52e7c28e6d48374c3c4314e06e3600d7f668a Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 17 Jan 2011 15:41:49 +1000 Subject: nouveau: fix build against out of tree libdrm For doing builds against a separated libdrm these cflags are needed. Signed-off-by: Dave Airlie --- src/gallium/drivers/nv50/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/drivers/nv50') diff --git a/src/gallium/drivers/nv50/Makefile b/src/gallium/drivers/nv50/Makefile index bf1e8201a0..b3535c0976 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 -- cgit v1.2.3