patch for #426

10 views
Skip to first unread message

Marco Atzeri

unread,
Oct 20, 2018, 4:16:50 AM10/20/18
to tesser...@googlegroups.com
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
tesseract-ocr-4.0.0-0.7.src.patch

Zdenko Podobny

unread,
Oct 20, 2018, 5:07:08 AM10/20/18
to tesser...@googlegroups.com
Thanks.

This is exactly how issue should be handled. If some configuration is not working, it should be replaced or fixed. 


Zdenko


so 20. 10. 2018 o 10:16 Marco Atzeri <marco....@gmail.com> napísal(a):
--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/d0a09284-1ece-5575-64b1-ce1b7c306abf%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages