mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-01 16:09:05 +08:00
libicui18n is only called libicuin on mingw, not cygwin
This commit is contained in:
parent
84f1a3dc74
commit
e4613841ba
@ -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'])
|
||||
;;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user