termux-packages/packages/tesseract/src-ccutils-Makefile.am.patch

12 lines
381 B
Diff

diff -u -r ../tesseract-4.0.0/src/ccutil/Makefile.am ./src/ccutil/Makefile.am
--- ../tesseract-4.0.0/src/ccutil/Makefile.am 2018-10-29 08:53:12.000000000 +0000
+++ ./src/ccutil/Makefile.am 2019-02-03 22:45:27.364961733 +0000
@@ -1,6 +1,7 @@
SUBDIRS =
AM_CXXFLAGS =
AM_CPPFLAGS =
+AM_LDFLAGS = -landroid-glob
if !NO_TESSDATA_PREFIX
AM_CXXFLAGS += -DTESSDATA_PREFIX=@datadir@