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 \