Mesa (master): gallium/gbm: r300 and r600 now depend on libdrm
Alex Deucher
agd5f at kemper.freedesktop.org
Tue Feb 7 16:14:40 UTC 2012
Module: Mesa
Branch: master
Commit: d048ab5558cf47edda5a383266dc451db8425d9f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d048ab5558cf47edda5a383266dc451db8425d9f
Author: Tobias Droste <tdroste at gmx.de>
Date: Tue Feb 7 16:27:11 2012 +0100
gallium/gbm: r300 and r600 now depend on libdrm
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 = \
More information about the mesa-commit
mailing list