From 5f0df8ab22e23956e05451c7191b155e69e5c8d1 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sat, 9 Nov 2013 22:50:47 +0000 Subject: targets/vdpau: move linker flags to Automake.inc Signed-off-by: Emil Velikov --- src/gallium/targets/radeonsi/vdpau/Makefile.am | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/gallium/targets/radeonsi/vdpau') diff --git a/src/gallium/targets/radeonsi/vdpau/Makefile.am b/src/gallium/targets/radeonsi/vdpau/Makefile.am index 9b14634b6d2..cd4dcfc1dd7 100644 --- a/src/gallium/targets/radeonsi/vdpau/Makefile.am +++ b/src/gallium/targets/radeonsi/vdpau/Makefile.am @@ -20,6 +20,8 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. +# Note: Make sure VDPAU_EXPORTS is defined before including Automake.inc +VDPAU_EXPORTS = '^(vdp_imp_device_create_x11|radeon_drm_winsys_create)$$' include $(top_srcdir)/src/gallium/Automake.inc AM_CFLAGS = \ @@ -28,19 +30,13 @@ AM_CFLAGS = \ vdpaudir = $(VDPAU_LIB_INSTALL_DIR) vdpau_LTLIBRARIES = libvdpau_radeonsi.la -EXPORTS = '^(vdp_imp_device_create_x11|radeon_drm_winsys_create)$$' - nodist_EXTRA_libvdpau_radeonsi_la_SOURCES = dummy.cpp libvdpau_radeonsi_la_SOURCES = \ drm_target.c \ $(top_srcdir)/src/gallium/auxiliary/vl/vl_winsys_dri.c libvdpau_radeonsi_la_LDFLAGS = \ - -module \ - -version-number $(VDPAU_MAJOR):$(VDPAU_MINOR) \ - -export-symbols-regex $(EXPORTS) \ - -shared \ - -no-undefined + $(GALLIUM_VDPAU_LINKER_FLAGS) libvdpau_radeonsi_la_LIBADD = \ $(top_builddir)/src/gallium/auxiliary/libgallium.la \ -- cgit v1.2.3