changeset 35845:1dbf7d79a3e0

Allow compiling without linking to a system-specific xvmc backend library.
author reimar
date Sun, 10 Mar 2013 12:30:54 +0000
parents 996a7f82f859
children 1994a2fd15f4
files configure
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Mar 10 12:17:19 2013 +0000
+++ b/configure	Sun Mar 10 12:30:54 2013 +0000
@@ -4591,7 +4591,8 @@
 fi
 if test "$_xvmc" = yes ; then
   def_xvmc='#define CONFIG_XVMC 1'
-  libs_mplayer="$libs_mplayer -lXvMC -l$_xvmclib"
+  libs_mplayer="$libs_mplayer -lXvMC"
+  test -n "$_xvmclib" && libs_mplayer="$libs_mplayer -l$_xvmclib"
   vomodules="xvmc $vomodules"
   res_comment="using $_xvmclib"
 else