Skip to content

Commit

Permalink
Add missing libraries in configuration for pkg-config
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stweil committed Nov 2, 2019
1 parent ab836db commit 41c3e93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tesseract.pc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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}
2 changes: 1 addition & 1 deletion tesseract.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit 41c3e93

Please sign in to comment.