diff --git a/configure b/configure index ade8f7fdc58496dfb87fff2d1dee6ba928b3d613..9f6da5e4993571e5d8a66eb87d00ffe4f18ee145 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 # ---