[MPlayer-users] configure fails to detect fontconfig

Adam Seychell a_seychell at yahoo.com.au
Fri Jan 16 00:14:22 CET 2009


configure script seems to specify incorrect library order and results in
libfontconfig detection to fail.
I traced the problem to compile_check() in configure.
The -lfontconfig option was being specified at the end of the gcc 
command line when it should be specified at the beginning.

I corrected my problem when I moved "$@" string to the beginning in line 
6 of compile_check():

$_cc $CFLAGS "$@" $_inc_extra $_ld_static $_ld_extra $_libs_mplayer 
$_libs_mencoder -o "$TMPEXE" >> "$TMPLOG" 2>&1


Is this a bug in configure script ?




More information about the MPlayer-users mailing list