The attached patch, tested on 4.0.0 RC3 for Cygwin,
should solve the
https://github.com/tesseract-ocr/tesseract/issues/426
and maintain the current cygwin build.
It is similar to implementation in other software of the same
need to have "-no-undefined" passed to libtool
I doubt that the
configure.ac
AC_SUBST([AM_LDFLAGS], ['-Wl,-no-undefined -Wl,--as-needed'])
is really effective for the T_WIN build as I see that there is
in src/api/Makefile.am again a
libtesseract_la_LDFLAGS += -no-undefined -Wl,--as-needed -lws2_32
Regards
Marco
---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus