summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKusanagi Kouichi <[email protected]>2014-02-17 17:29:14 +0900
committerEmil Velikov <[email protected]>2014-02-17 21:14:17 +0000
commitd23f9e3390e8ec19efe3b76818d2bb6bf4264764 (patch)
treed1dd7dc0591d361876e0abee787083d6d17474ee /src
parent6ba4392da265b0b33e3516e85b2fdcfa9c169c39 (diff)
targets/vdpau: Don't link unused libraries
libvdpau, libselinux and libexpat are not used. Signed-off-by: Kusanagi Kouichi <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/Automake.inc6
-rw-r--r--src/gallium/targets/r600/vdpau/Makefile.am1
-rw-r--r--src/gallium/targets/radeonsi/vdpau/Makefile.am1
-rw-r--r--src/gallium/targets/vdpau-nouveau/Makefile.am1
4 files changed, 5 insertions, 4 deletions
diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc
index fec69cc523f..1acc99ef51b 100644
--- a/src/gallium/Automake.inc
+++ b/src/gallium/Automake.inc
@@ -78,7 +78,11 @@ GALLIUM_VDPAU_LIB_DEPS = \
$(top_builddir)/src/gallium/auxiliary/libgallium.la \
$(top_builddir)/src/gallium/state_trackers/vdpau/libvdpautracker.la \
$(VDPAU_LIBS) \
- $(LIBDRM_LIBS)
+ $(LIBDRM_LIBS) \
+ -lm \
+ $(CLOCK_LIB) \
+ $(PTHREAD_LIBS) \
+ $(DLOPEN_LIBS)
GALLIUM_XVMC_LIB_DEPS = \
$(top_builddir)/src/gallium/auxiliary/libgallium.la \
diff --git a/src/gallium/targets/r600/vdpau/Makefile.am b/src/gallium/targets/r600/vdpau/Makefile.am
index 6e9f1174c9d..509b954a685 100644
--- a/src/gallium/targets/r600/vdpau/Makefile.am
+++ b/src/gallium/targets/r600/vdpau/Makefile.am
@@ -41,7 +41,6 @@ libvdpau_r600_la_LIBADD = \
$(top_builddir)/src/gallium/drivers/r600/libr600.la \
$(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \
$(GALLIUM_VDPAU_LIB_DEPS) \
- $(GALLIUM_DRI_LIB_DEPS) \
$(RADEON_LIBS)
libvdpau_r600_la_LINK = $(CXXLINK) $(libvdpau_r600_la_LDFLAGS)
diff --git a/src/gallium/targets/radeonsi/vdpau/Makefile.am b/src/gallium/targets/radeonsi/vdpau/Makefile.am
index 0292b2bc60c..54d65b3d783 100644
--- a/src/gallium/targets/radeonsi/vdpau/Makefile.am
+++ b/src/gallium/targets/radeonsi/vdpau/Makefile.am
@@ -42,7 +42,6 @@ libvdpau_radeonsi_la_LIBADD = \
$(top_builddir)/src/gallium/drivers/radeonsi/libradeonsi.la \
$(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \
$(GALLIUM_VDPAU_LIB_DEPS) \
- $(GALLIUM_DRI_LIB_DEPS) \
$(RADEON_LIBS)
if HAVE_MESA_LLVM
diff --git a/src/gallium/targets/vdpau-nouveau/Makefile.am b/src/gallium/targets/vdpau-nouveau/Makefile.am
index fbaad037f85..3cdf1031044 100644
--- a/src/gallium/targets/vdpau-nouveau/Makefile.am
+++ b/src/gallium/targets/vdpau-nouveau/Makefile.am
@@ -42,7 +42,6 @@ libvdpau_nouveau_la_LIBADD = \
$(top_builddir)/src/gallium/winsys/nouveau/drm/libnouveaudrm.la \
$(top_builddir)/src/gallium/drivers/nouveau/libnouveau.la \
$(GALLIUM_VDPAU_LIB_DEPS) \
- $(GALLIUM_DRI_LIB_DEPS) \
$(NOUVEAU_LIBS)
if HAVE_MESA_LLVM