Browse Source

configure: reverse order of -l flags

Adding new libs to the front of the list allows them to resolve
symbols against previously added ones.

Originally committed as revision 23780 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Måns Rullgård 15 years ago
parent
commit
60361817ee
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      configure

+ 7
- 1
configure View File

@@ -519,6 +519,12 @@ append(){
eval "$var=\"\$$var $*\""
}

prepend(){
var=$1
shift
eval "$var=\"$* \$$var\""
}

add_cppflags(){
append CPPFLAGS $($filter_cppflags "$@")
}
@@ -536,7 +542,7 @@ add_ldflags(){
}

add_extralibs(){
append extralibs "$@"
prepend extralibs "$@"
}

check_cmd(){


Loading…
Cancel
Save