aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-06-01 23:25:12 +0000
committerMåns Rullgård <mans@mansr.com>2006-06-01 23:25:12 +0000
commit1ea46bed239f985c79f572b639e0f6b20fd8f9d6 (patch)
treef65bd65587f5429e3b40ba39285cff59642a5f50 /configure
parentea0f0681a687754408fba4f82772d2a2678a5afc (diff)
downloadffmpeg-1ea46bed239f985c79f572b639e0f6b20fd8f9d6.tar.gz
apply $cross_prefix before $cc is used
Originally committed as revision 5446 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index ade8f7fdc5..9f6da5e499 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
# ---