Skip to content

Commit 4ae227d

Browse files
committed
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 <[email protected]>
1 parent 04b0397 commit 4ae227d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

unittest/Makefile.am

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ libgtest_main_la_SOURCES = ../googletest/googletest/src/gtest_main.cc
2424

2525
# Build unittests
2626
GTEST_LIBS = libgtest.la libgtest_main.la
27-
TESS_LIBS = \
28-
$(top_srcdir)/api/libtesseract.la
27+
TESS_LIBS = $(top_builddir)/api/libtesseract.la
2928
AM_CPPFLAGS += -isystem $(top_srcdir)/googletest/googletest/include
3029

3130
check_PROGRAMS = \

0 commit comments

Comments
 (0)