[MPlayer-dev-eng] [PATCH] fix configure with --enable-x264

Alexander Beregalov a.beregalov at gmail.com
Wed Nov 8 14:58:17 CET 2006


./configure --enable-x264 --with-x264libdir=/usr/lib/
does not add -lx264 to EXTRA_LIB (config.mak)

Index: mplayer/configure
===================================================================
--- mplayer/configure   (.../svn://svn.mplayerhq.hu/mplayer/trunk)
 (revision 20778)
+++ mplayer/configure   (.../mplayer)   (working copy)
@@ -6461,7 +6461,6 @@
 #endif
 int main(void) { x264_encoder_open((void*)0); return 0; }
 EOF
-  _ld_x264="$_ld_x264 -lx264 $_ld_pthread"
   _x264=no
   if cc_check $_ld_x264 $_ld_lm ; then
     _x264=yes
@@ -6476,6 +6475,7 @@
   _def_x264='#define HAVE_X264 1'
   _def_lavc_x264='#define CONFIG_X264 1'
   _codecmodules="x264 $_codecmodules"
+  _ld_x264="$_ld_x264 -lx264 $_ld_pthread"
 else
   _x264=no
   _ld_x264=''



More information about the MPlayer-dev-eng mailing list