gallium/gbm: r300 and r600 now depend on libdrm
authorTobias Droste <tdroste@gmx.de>
Tue, 7 Feb 2012 15:27:11 +0000 (16:27 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Feb 2012 16:12:09 +0000 (11:12 -0500)
fixes undefined references in libradeonwinsys.a when linking

Signed-off-by: Tobias Droste <tdroste@gmx.de>
src/gallium/targets/gbm/Makefile

index ce56f934972bd0e090783c34945aa44602ca62a8..2737b7986cbfd3ccdfecb8b4cd2c796d4c25c26d 100644 (file)
@@ -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 = \