mirror of https://github.com/mpv-player/mpv
Check if -liconv is needed for iconv.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13100 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8d2a80047b
commit
c3bf08597d
|
@ -2097,11 +2097,11 @@ int main(void) {
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
_iconv=no
|
_iconv=no
|
||||||
if cc_check -lm -liconv ; then
|
if cc_check -lm ; then
|
||||||
|
_iconv=yes
|
||||||
|
elif cc_check -lm -liconv ; then
|
||||||
_iconv=yes
|
_iconv=yes
|
||||||
_ld_iconv='-liconv'
|
_ld_iconv='-liconv'
|
||||||
else
|
|
||||||
cc_check -lm && _iconv=yes
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "$_iconv" = yes ; then
|
if test "$_iconv" = yes ; then
|
||||||
|
|
Loading…
Reference in New Issue