From 34311b36d972e63f25634941c942eb7922bd7aea Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Fri, 24 May 2019 17:08:48 +0200 Subject: [PATCH] Fix linking of unittest with Tensorflow This does not add Tensorflow tests. It only fixes the linker errors. Signed-off-by: Stefan Weil --- unittest/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/unittest/Makefile.am b/unittest/Makefile.am index e65063f1..a5217d7f 100644 --- a/unittest/Makefile.am +++ b/unittest/Makefile.am @@ -98,6 +98,7 @@ ABSEIL_LIBS = libabseil.la GTEST_LIBS = libgtest.la libgtest_main.la -lpthread GMOCK_LIBS = libgmock.la libgmock_main.la TESS_LIBS = $(top_builddir)/src/api/libtesseract.la $(libarchive_LIBS) +TESS_LIBS += $(TENSORFLOW_LIBS) TRAINING_LIBS = $(top_builddir)/src/training/libtesseract_training.la TRAINING_LIBS += $(top_builddir)/src/training/libtesseract_tessopt.la AM_CPPFLAGS += -isystem $(top_srcdir)/googletest/googletest/include \