Skip to content

Commit

Permalink
Fix build for unittest
Browse files Browse the repository at this point in the history
Debug builds failed because libpthread (needed for googletest) was missing.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Jan 14, 2019
1 parent 238cb21 commit 5d3d251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unittest/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ libgmock_main_la_CPPFLAGS = $(GMOCK_INCLUDES) \

# Build unittests
ABSEIL_LIBS = libabseil.la
GTEST_LIBS = libgtest.la libgtest_main.la
GTEST_LIBS = libgtest.la libgtest_main.la -lpthread
GMOCK_LIBS = libgmock.la libgmock_main.la
TESS_LIBS = $(top_builddir)/src/api/libtesseract.la
TRAINING_LIBS = $(top_builddir)/src/training/libtesseract_training.la
Expand Down

0 comments on commit 5d3d251

Please sign in to comment.