[SCM] libav/experimental: apply $cross_prefix before $cc is used

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:47:56 UTC 2013


The following commit has been merged in the experimental branch:
commit 1ea46bed239f985c79f572b639e0f6b20fd8f9d6
Author: Måns Rullgård <mans at mansr.com>
Date:   Thu Jun 1 23:25:12 2006 +0000

    apply $cross_prefix before $cc is used
    
    Originally committed as revision 5446 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index ade8f7f..9f6da5e 100755
--- 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
 
 # ---

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list