[Mesa-dev] [PATCH] gallium/gbm: r300 and r600 now depend on libdrm
Tobias Droste
tdroste at gmx.de
Tue Feb 7 07:27:11 PST 2012
fixes undefined references in libradeonwinsys.a when linking
Signed-off-by: Tobias Droste <tdroste at gmx.de>
---
src/gallium/targets/gbm/Makefile | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/gallium/targets/gbm/Makefile b/src/gallium/targets/gbm/Makefile
index ce56f93..2737b79 100644
--- a/src/gallium/targets/gbm/Makefile
+++ b/src/gallium/targets/gbm/Makefile
@@ -72,11 +72,13 @@ nouveau_SYS = -ldrm_nouveau
r300_LIBS = \
$(TOP)/src/gallium/winsys/radeon/drm/libradeonwinsys.a \
$(TOP)/src/gallium/drivers/r300/libr300.a
+r300_SYS += -ldrm_radeon
# r600 pipe driver
r600_LIBS = \
$(TOP)/src/gallium/winsys/radeon/drm/libradeonwinsys.a \
$(TOP)/src/gallium/drivers/r600/libr600.a
+r600_SYS += -ldrm_radeon
# vmwgfx pipe driver
vmwgfx_LIBS = \
--
1.7.7
More information about the mesa-dev
mailing list