Skip to content

Commit 6368a37

Browse files
committed
libicui18n is only called libicuin on mingw, not cygwin
1 parent b31a337 commit 6368a37

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

configure.ac

+2
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ AM_MAINTAINER_MODE
6868

6969
# default conditional
7070
AM_CONDITIONAL(T_WIN, false)
71+
AM_CONDITIONAL(MINGW, false)
7172
AM_CONDITIONAL(OSX, false)
7273
AM_CONDITIONAL(GRAPHICS_DISABLED, false)
7374

@@ -83,6 +84,7 @@ case "${host_os}" in
8384
mingw32*)
8485
AC_DEFINE_UNQUOTED(MINGW,1,[This is a MinGW system])
8586
AM_CONDITIONAL(T_WIN, true)
87+
AM_CONDITIONAL(MINGW, true)
8688
AM_CONDITIONAL(ADD_RT, false)
8789
AC_SUBST([AM_LDFLAGS], ['-Wl,-no-undefined -Wl,--as-needed'])
8890
;;

training/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ AM_CPPFLAGS += \
1010

1111
EXTRA_DIST = language-specific.sh tesstrain.sh tesstrain_utils.sh
1212

13-
if T_WIN
13+
if MINGW
1414
# try static build
1515
#AM_LDFLAGS += -all-static
1616
#libic=-lsicuin -licudt -lsicuuc

0 commit comments

Comments
 (0)