Skip to content

Commit 1ba8c97

Browse files
committed
Fix linking of unittest with Tensorflow
This does not add Tensorflow tests. It only fixes the linker errors. Signed-off-by: Stefan Weil <[email protected]>
1 parent 2441e4d commit 1ba8c97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unittest/Makefile.am

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ ABSEIL_LIBS = libabseil.la
9898
GTEST_LIBS = libgtest.la libgtest_main.la -lpthread
9999
GMOCK_LIBS = libgmock.la libgmock_main.la
100100
TESS_LIBS = $(top_builddir)/src/api/libtesseract.la $(libarchive_LIBS)
101+
TESS_LIBS += $(TENSORFLOW_LIBS)
101102
TRAINING_LIBS = $(top_builddir)/src/training/libtesseract_training.la
102103
TRAINING_LIBS += $(top_builddir)/src/training/libtesseract_tessopt.la
103104
AM_CPPFLAGS += -isystem $(top_srcdir)/googletest/googletest/include \

0 commit comments

Comments
 (0)