]> git.sesse.net Git - ffmpeg/commitdiff
apply $cross_prefix before $cc is used
authorMåns Rullgård <mans@mansr.com>
Thu, 1 Jun 2006 23:25:12 +0000 (23:25 +0000)
committerMåns Rullgård <mans@mansr.com>
Thu, 1 Jun 2006 23:25:12 +0000 (23:25 +0000)
Originally committed as revision 5446 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index ade8f7fdc58496dfb87fff2d1dee6ba928b3d613..9f6da5e4993571e5d8a66eb87d00ffe4f18ee145 100755 (executable)
--- a/configure
+++ b/configure
@@ -714,6 +714,11 @@ done
 # Combine FFLDFLAGS and the LDFLAGS environment variable
 LDFLAGS="$FFLDFLAGS $LDFLAGS"
 
+cc="${cross_prefix}${cc}"
+ar="${cross_prefix}${ar}"
+ranlib="${cross_prefix}${ranlib}"
+strip="${cross_prefix}${strip}"
+
 # we need to build at least one lib type
 if test "$lstatic" = "no" && test "$lshared" = "no" ; then
     cat <<EOF
@@ -989,11 +994,6 @@ fi
     if test "$force_libdir" != yes; then bindir="$prefix"; fi
 fi
 
-cc="${cross_prefix}${cc}"
-ar="${cross_prefix}${ar}"
-ranlib="${cross_prefix}${ranlib}"
-strip="${cross_prefix}${strip}"
-
 if test -z "$cross_prefix" ; then
 
 # ---