diff options
author | Måns Rullgård <mans@mansr.com> | 2006-07-12 00:33:22 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-07-12 00:33:22 +0000 |
commit | 0607887f0d5b57c9e88276ce19e9d163692d002b (patch) | |
tree | 4a6c618306922b249da086fe19a288a4abb30890 /configure | |
parent | 3ab60c830a28929f35839d6b364c32f00e28f566 (diff) | |
download | ffmpeg-0607887f0d5b57c9e88276ce19e9d163692d002b.tar.gz |
split compile and link in check_ld
based on patch by Graham Booker <ffmpeglist at cod3r com>
Originally committed as revision 5722 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -231,10 +231,9 @@ check_cpp(){ check_ld(){ log check_ld "$@" - cat >$TMPC - log_file $TMPC - log $cc $CFLAGS $LDFLAGS "$@" -o $TMPE $TMPC $extralibs - $cc $CFLAGS $LDFLAGS "$@" -o $TMPE $TMPC $extralibs >>$logfile 2>&1 + check_cc || return + log $cc $LDFLAGS "$@" -o $TMPE $TMPO $extralibs + $cc $LDFLAGS "$@" -o $TMPE $TMPO $extralibs >>$logfile 2>&1 } check_cflags(){ |