summaryrefslogtreecommitdiffstats
path: root/configure.ac
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 /configure.ac
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 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d839476827c..e1d4806938f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1323,7 +1323,8 @@ fi
AM_CONDITIONAL(HAVE_ST_XVMC, test "x$enable_xvmc" = xyes)
if test "x$enable_vdpau" = xyes; then
- PKG_CHECK_MODULES([VDPAU], [vdpau >= 0.4.1 x11-xcb xcb-dri2 >= 1.8])
+ PKG_CHECK_MODULES([VDPAU], [vdpau >= 0.4.1 x11-xcb xcb-dri2 >= 1.8],
+ [VDPAU_LIBS="`$PKG_CONFIG --libs x11-xcb xcb-dri2`"])
GALLIUM_STATE_TRACKERS_DIRS="$GALLIUM_STATE_TRACKERS_DIRS vdpau"
fi
AM_CONDITIONAL(HAVE_ST_VDPAU, test "x$enable_vdpau" = xyes)