summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 4e37e6814b..8695cbf942 100755
--- a/configure
+++ b/configure
@@ -483,6 +483,7 @@ _install=install
_ranlib=ranlib
_ldconfig=ldconfig
_cc=cc
+_ar=ar
test "$CC" && _cc="$CC"
_gcc_check=yes
_as=auto
@@ -760,6 +761,9 @@ for ac_option do
--as=*)
_as=`echo $ac_option | cut -d '=' -f 2`
;;
+ --ar=*)
+ _ar=`echo $ac_option | cut -d '=' -f 2`
+ ;;
--charset=*)
_charset=`echo $ac_option | cut -d '=' -f 2`
;;
@@ -7483,6 +7487,7 @@ CONFDIR = \$(DESTDIR)$_confdir
LIBDIR = \$(DESTDIR)$_libdir
# FFmpeg uses libdir instead of LIBDIR
libdir = \$(LIBDIR)
+AR = $_ar
CC = $_cc
CXX = $_cc
HOST_CC = $_host_cc