comparison configure @ 27808:2988c38b6620

Make sure that linker flags passed as configure parameters appear before those detected by configure so that the former can override the latter. patch by Giacomo Comes, comes naic edu
author diego
date Tue, 28 Oct 2008 18:00:11 +0000
parents 51c2de6369b6
children dedacb09ed45
comparison
equal deleted inserted replaced
27807:3ac3d3a51934 27808:2988c38b6620
7721 # linker paths should be the same for mencoder and mplayer 7721 # linker paths should be the same for mencoder and mplayer
7722 _ld_tmp="" 7722 _ld_tmp=""
7723 for I in $_libs_mplayer ; do 7723 for I in $_libs_mplayer ; do
7724 _tmp=`echo $I | sed -e 's/^-L.*$//'` 7724 _tmp=`echo $I | sed -e 's/^-L.*$//'`
7725 if test -z "$_tmp" ; then 7725 if test -z "$_tmp" ; then
7726 _ld_extra="$I $_ld_extra" 7726 _ld_extra="$_ld_extra $I"
7727 else 7727 else
7728 _ld_tmp="$_ld_tmp $I" 7728 _ld_tmp="$_ld_tmp $I"
7729 fi 7729 fi
7730 done 7730 done
7731 _libs_mplayer=$_ld_tmp 7731 _libs_mplayer=$_ld_tmp