mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
Add missing libraries in configuration for pkg-config
This fixes linker errors in third-party software like tesserocr for builds which use any of these libraries. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
41ec627199
commit
d20db0f258
@ -7,6 +7,6 @@ Name: @tesseract_NAME@
|
||||
Description: An OCR Engine that was developed at HP Labs between 1985 and 1995... and now at Google.
|
||||
URL: https://github.com/tesseract-ocr/tesseract
|
||||
Version: @tesseract_VERSION@
|
||||
Libs: -L${libdir} -l@tesseract_OUTPUT_NAME@
|
||||
Libs: -L${libdir} -l@tesseract_OUTPUT_NAME@ @libarchive_LIBS@ @libcurl_LIBS@ @TENSORFLOW_LIBS@
|
||||
Libs.private:
|
||||
Cflags: -I${includedir}
|
||||
|
@ -11,6 +11,6 @@ Description: An OCR Engine that was developed at HP Labs between 1985 and 1995..
|
||||
URL: https://github.com/tesseract-ocr/tesseract
|
||||
Version: @VERSION@
|
||||
Requires.private: lept
|
||||
Libs: -L${libdir} -ltesseract
|
||||
Libs: -L${libdir} -ltesseract @libarchive_LIBS@ @libcurl_LIBS@ @TENSORFLOW_LIBS@
|
||||
Libs.private: -lpthread @OPENCL_LDFLAGS@
|
||||
Cflags: -I${includedir}
|
||||
|
Loading…
Reference in New Issue
Block a user