From 9ec0c4fa9c9836d414c02662a6f94f48815d61b2 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Tue, 13 Dec 2016 13:28:29 +0100 Subject: [PATCH] api: Add missing dependency on libtiff It is needed because of a direct call to TIFFSetWarningHandler. Signed-off-by: Stefan Weil --- api/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/Makefile.am b/api/Makefile.am index 76a8ed4..25e7f21 100644 --- a/api/Makefile.am +++ b/api/Makefile.am @@ -90,6 +90,8 @@ tesseract_LDFLAGS = $(OPENCL_LDFLAGS) tesseract_LDADD += $(OPENMP_CXXFLAGS) +tesseract_LDADD += -ltiff + if T_WIN tesseract_LDADD += -lws2_32 libtesseract_la_LDFLAGS += -no-undefined -Wl,--as-needed -lws2_32