Browse Source

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
tags/v0.5
Måns Rullgård 19 years ago
parent
commit
0607887f0d
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      configure

+ 3
- 4
configure View File

@@ -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(){


Loading…
Cancel
Save