Mesa (master): radeon/uvd: Fix build failure with non-standard libdrm installation prefix
Michel Dänzer
daenzer at kemper.freedesktop.org
Thu May 2 12:59:49 UTC 2013
Module: Mesa
Branch: master
Commit: e2b985dc0f93a195d984aa7c88669ab67160c6c4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2b985dc0f93a195d984aa7c88669ab67160c6c4
Author: Lauri Kasanen <cand at gmx.com>
Date: Wed May 1 19:26:06 2013 +0300
radeon/uvd: Fix build failure with non-standard libdrm installation prefix
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)
More information about the mesa-commit
mailing list