--- tesseract-4.1.1/src/api/Makefile.am.orig 2021-05-05 11:01:16.091542600 -0700 | |
+++ tesseract-4.1.1/src/api/Makefile.am 2021-05-05 11:04:58.638484300 -0700 | |
@@ -103,7 +103,7 @@ | |
if T_WIN | |
tesseract_LDADD += -ltiff | |
tesseract_LDADD += -lws2_32 | |
-libtesseract_la_LDFLAGS += -no-undefined -Wl,--as-needed -lws2_32 | |
+libtesseract_la_LDFLAGS += -no-undefined -lws2_32 | |
endif | |
if ADD_RT | |
tesseract_LDADD += -lrt |