Skip to content

Commit

Permalink
Merge pull request tesseract-ocr#62 from jimregan/jimregan-cygwin-2
Browse files Browse the repository at this point in the history
libicui18n is only called libicuin on mingw, not cygwin
  • Loading branch information
zdenop committed Jul 24, 2015
2 parents b31a337 + 6368a37 commit 4085f91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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'])
;;
Expand Down
2 changes: 1 addition & 1 deletion training/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4085f91

Please sign in to comment.