From d812c745829be2155fdd0d10e4a12606c2a10826 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sat, 10 May 2014 14:35:08 +0100 Subject: gallium/radeon: link in libradeon.la at target level It makes more sense to link the core and common parts of the driver as the target is build. Additionally this will help us drop duplicating symbols for targets that static link mulitple pipe-drivers. Only egl-static needs that currently with more to come. To simplify things a bit add HAVE_GALLIUM_RADEON_COMMON variable. Signed-off-by: Emil Velikov Reviewed-by: Tom Stellard --- src/gallium/targets/r600/vdpau/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/targets/r600/vdpau') diff --git a/src/gallium/targets/r600/vdpau/Makefile.am b/src/gallium/targets/r600/vdpau/Makefile.am index b212024b752..8125e2d61c6 100644 --- a/src/gallium/targets/r600/vdpau/Makefile.am +++ b/src/gallium/targets/r600/vdpau/Makefile.am @@ -38,6 +38,7 @@ libvdpau_r600_la_LDFLAGS = \ -Wl,--dynamic-list=$(srcdir)/../../r300/dri/radeon.dyn libvdpau_r600_la_LIBADD = \ + $(top_builddir)/src/gallium/drivers/radeon/libradeon.la \ $(top_builddir)/src/gallium/drivers/r600/libr600.la \ $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \ $(GALLIUM_VDPAU_LIB_DEPS) \ -- cgit v1.2.3