mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
Add missing linker flags for Leptonica
They were removed in commit d70f3c3663
.
The old code implicitly added `-llept` by using the `AC_CHECK_LIB` macro.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
8ae6ac7c26
commit
4ccef10871
@ -81,6 +81,9 @@ tesseract_LDADD = libtesseract.la
|
||||
|
||||
tesseract_LDFLAGS = $(OPENCL_LDFLAGS)
|
||||
|
||||
tesseract_LDADD += $(LEPTONICA_LIBS)
|
||||
tesseract_LDADD += $(OPENMP_CXXFLAGS)
|
||||
|
||||
if T_WIN
|
||||
tesseract_LDADD += -lws2_32 -ltiff
|
||||
libtesseract_la_LDFLAGS += -no-undefined -Wl,--as-needed -lws2_32
|
||||
|
@ -300,3 +300,13 @@ shapeclustering_LDFLAGS = $(OPENCL_LDFLAGS)
|
||||
text2image_LDFLAGS = $(OPENCL_LDFLAGS)
|
||||
unicharset_extractor_LDFLAGS = $(OPENCL_LDFLAGS)
|
||||
wordlist2dawg_LDFLAGS = $(OPENCL_LDFLAGS)
|
||||
|
||||
ambiguous_words_LDADD += $(LEPTONICA_LIBS)
|
||||
classifier_tester_LDADD += $(LEPTONICA_LIBS)
|
||||
cntraining_LDADD += $(LEPTONICA_LIBS)
|
||||
dawg2wordlist_LDADD += $(LEPTONICA_LIBS)
|
||||
mftraining_LDADD += $(LEPTONICA_LIBS)
|
||||
set_unicharset_properties_LDADD += $(LEPTONICA_LIBS)
|
||||
shapeclustering_LDADD += $(LEPTONICA_LIBS)
|
||||
text2image_LDADD += $(LEPTONICA_LIBS)
|
||||
wordlist2dawg_LDADD += $(LEPTONICA_LIBS)
|
||||
|
Loading…
Reference in New Issue
Block a user