mirror of https://github.com/mpv-player/mpv
allow setting of ar from the commandline of configure
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24078 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6c32800e44
commit
ca359e92ec
|
@ -483,6 +483,7 @@ _install=install
|
||||||
_ranlib=ranlib
|
_ranlib=ranlib
|
||||||
_ldconfig=ldconfig
|
_ldconfig=ldconfig
|
||||||
_cc=cc
|
_cc=cc
|
||||||
|
_ar=ar
|
||||||
test "$CC" && _cc="$CC"
|
test "$CC" && _cc="$CC"
|
||||||
_gcc_check=yes
|
_gcc_check=yes
|
||||||
_as=auto
|
_as=auto
|
||||||
|
@ -760,6 +761,9 @@ for ac_option do
|
||||||
--as=*)
|
--as=*)
|
||||||
_as=`echo $ac_option | cut -d '=' -f 2`
|
_as=`echo $ac_option | cut -d '=' -f 2`
|
||||||
;;
|
;;
|
||||||
|
--ar=*)
|
||||||
|
_ar=`echo $ac_option | cut -d '=' -f 2`
|
||||||
|
;;
|
||||||
--charset=*)
|
--charset=*)
|
||||||
_charset=`echo $ac_option | cut -d '=' -f 2`
|
_charset=`echo $ac_option | cut -d '=' -f 2`
|
||||||
;;
|
;;
|
||||||
|
@ -7483,6 +7487,7 @@ CONFDIR = \$(DESTDIR)$_confdir
|
||||||
LIBDIR = \$(DESTDIR)$_libdir
|
LIBDIR = \$(DESTDIR)$_libdir
|
||||||
# FFmpeg uses libdir instead of LIBDIR
|
# FFmpeg uses libdir instead of LIBDIR
|
||||||
libdir = \$(LIBDIR)
|
libdir = \$(LIBDIR)
|
||||||
|
AR = $_ar
|
||||||
CC = $_cc
|
CC = $_cc
|
||||||
CXX = $_cc
|
CXX = $_cc
|
||||||
HOST_CC = $_host_cc
|
HOST_CC = $_host_cc
|
||||||
|
|
Loading…
Reference in New Issue