[Mesa-dev] [PATCH] radeon/uvd: Fix build failure

Lauri Kasanen cand at gmx.com
Wed May 1 09:26:06 PDT 2013


Without this patch, radeon_uvd failed to find the libdrm includes:

In file included from radeon_uvd.c:48:
../../winsys/radeon/drm/radeon_winsys.h:44:35: error:
libdrm/radeon_surface.h: No such file or directory

Signed-off-by: Lauri Kasanen <cand at gmx.com>
---
 src/gallium/drivers/radeon/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/radeon/Makefile.am
b/src/gallium/drivers/radeon/Makefile.am index 6522598..f1f8ced 100644
--- a/src/gallium/drivers/radeon/Makefile.am
+++ b/src/gallium/drivers/radeon/Makefile.am
@@ -5,7 +5,7 @@ LIBGALLIUM_LIBS=
 
 noinst_LTLIBRARIES = libradeon.la
 
-AM_CFLAGS = $(GALLIUM_CFLAGS)
+AM_CFLAGS = $(GALLIUM_CFLAGS) $(RADEON_CFLAGS)
 
 libradeon_la_SOURCES = \
 	$(C_SOURCES)
-- 
1.7.2.1



More information about the mesa-dev mailing list