[FFmpeg-cvslog] r23780 - trunk/configure

mru subversion
Fri Jun 25 17:45:04 CEST 2010


Author: mru
Date: Fri Jun 25 17:45:04 2010
New Revision: 23780

Log:
configure: reverse order of -l flags

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

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Fri Jun 25 17:45:01 2010	(r23779)
+++ trunk/configure	Fri Jun 25 17:45:04 2010	(r23780)
@@ -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(){



More information about the ffmpeg-cvslog mailing list