mirror of https://github.com/mpv-player/mpv
Fix compilation with --charset=noconv
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28939 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e530d4b467
commit
db0be49509
|
@ -7768,13 +7768,11 @@ fi #if test "$_gui"
|
|||
# --------------- GUI specific tests end -------------------
|
||||
|
||||
|
||||
if test "$_charset" = "noconv" ; then
|
||||
_charset=""
|
||||
fi
|
||||
if test "$_charset" ; then
|
||||
if test "$_charset" != "noconv" ; then
|
||||
def_charset="#define MSG_CHARSET \"$_charset\""
|
||||
else
|
||||
def_charset="#undef MSG_CHARSET"
|
||||
_charset="UTF-8"
|
||||
fi
|
||||
|
||||
if test -n "$_charset" && test "$_charset" != "UTF-8" ; then
|
||||
|
|
Loading…
Reference in New Issue