From 4ae227df53229db21a9216f16aa3c7c051a9ba55 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Mon, 11 Sep 2017 17:46:31 +0200 Subject: [PATCH] unittest: Fix path for libtesseract in out of tree builds The library is provided in the build path (which is not the same as the source path for out of tree builds). Signed-off-by: Stefan Weil --- unittest/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/unittest/Makefile.am b/unittest/Makefile.am index 3aa55961bb..fa10923b6d 100644 --- a/unittest/Makefile.am +++ b/unittest/Makefile.am @@ -24,8 +24,7 @@ libgtest_main_la_SOURCES = ../googletest/googletest/src/gtest_main.cc # Build unittests GTEST_LIBS = libgtest.la libgtest_main.la -TESS_LIBS = \ - $(top_srcdir)/api/libtesseract.la +TESS_LIBS = $(top_builddir)/api/libtesseract.la AM_CPPFLAGS += -isystem $(top_srcdir)/googletest/googletest/include check_PROGRAMS = \