libicui18n is only called libicuin on mingw, not cygwin

This commit is contained in:
Jim O'Regan 2015-07-24 00:16:55 +01:00 committed by Zdenko Podobný
parent 84f1a3dc74
commit e4613841ba
2 changed files with 3 additions and 1 deletions

View File

@ -68,6 +68,7 @@ AM_MAINTAINER_MODE
# default conditional
AM_CONDITIONAL(T_WIN, false)
AM_CONDITIONAL(MINGW, false)
AM_CONDITIONAL(OSX, false)
AM_CONDITIONAL(GRAPHICS_DISABLED, false)
@ -83,6 +84,7 @@ case "${host_os}" in
mingw32*)
AC_DEFINE_UNQUOTED(MINGW,1,[This is a MinGW system])
AM_CONDITIONAL(T_WIN, true)
AM_CONDITIONAL(MINGW, true)
AM_CONDITIONAL(ADD_RT, false)
AC_SUBST([AM_LDFLAGS], ['-Wl,-no-undefined -Wl,--as-needed'])
;;

View File

@ -10,7 +10,7 @@ AM_CPPFLAGS += \
EXTRA_DIST = language-specific.sh tesstrain.sh tesstrain_utils.sh
if T_WIN
if MINGW
# try static build
#AM_LDFLAGS += -all-static
#libic=-lsicuin -licudt -lsicuuc