From 5d3d251267a32bbd4866720bc1e2d7c2cf77d82a Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Fri, 11 Jan 2019 16:45:13 +0100 Subject: [PATCH] Fix build for unittest Debug builds failed because libpthread (needed for googletest) was missing. Signed-off-by: Stefan Weil --- unittest/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittest/Makefile.am b/unittest/Makefile.am index 9de1896654..38bc4c5c39 100644 --- a/unittest/Makefile.am +++ b/unittest/Makefile.am @@ -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