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 <