From b4a4f5c6cbe1f13dd247ee641393bf223ddc36fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zdenko=20Podobn=C3=BD?= Date: Tue, 15 Oct 2024 11:57:50 +0200 Subject: [PATCH] use variable instead of hardcoded name for pkg-config file --- tesseract.pc.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tesseract.pc.in b/tesseract.pc.in index 81b1531f..f427a0ca 100644 --- a/tesseract.pc.in +++ b/tesseract.pc.in @@ -10,7 +10,7 @@ Name: @PACKAGE_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: @VERSION@ -Requires.private: lept -Libs: -L${libdir} -ltesseract @libarchive_LIBS@ @libcurl_LIBS@ @TENSORFLOW_LIBS@ +Requires.private: @LEPTONICA_LIBS@ +Libs: -L${libdir} -l@tesseract_OUTPUT_NAME@ @libarchive_LIBS@ @libcurl_LIBS@ @TENSORFLOW_LIBS@ Libs.private: -lpthread Cflags: -I${includedir}