[FFmpeg-cvslog] configure: use LD_O setting in check_ld()

Mans Rullgard git at videolan.org
Tue Aug 28 16:33:23 CEST 2012


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Mon Aug 27 22:04:25 2012 +0100| [29b64b682766c9d08c72b5a6d8de69c905f32855] | committer: Mans Rullgard

configure: use LD_O setting in check_ld()

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=29b64b682766c9d08c72b5a6d8de69c905f32855
---

 configure |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 5a626b2..5505245 100755
--- a/configure
+++ b/configure
@@ -678,6 +678,10 @@ check_yasm(){
     check_cmd $yasmexe $YASMFLAGS "$@" -o $TMPO $TMPS
 }
 
+ld_o(){
+    eval printf '%s\\n' $LD_O
+}
+
 check_ld(){
     log check_ld "$@"
     flags=''
@@ -688,7 +692,7 @@ check_ld(){
     check_cc $($cflags_filter $flags) || return
     flags=$($ldflags_filter $flags)
     libs=$($ldflags_filter $libs)
-    check_cmd $ld $LDFLAGS $flags -o $TMPE $TMPO $libs $extralibs
+    check_cmd $ld $LDFLAGS $flags $(ld_o $TMPE) $TMPO $libs $extralibs
 }
 
 check_code(){



More information about the ffmpeg-cvslog mailing list