30 lines
843 B
Diff
30 lines
843 B
Diff
From 5e116fa5cad249b8a08d22af652cf52f44fbb8cd Mon Sep 17 00:00:00 2001
|
|
From: Frank Dana <ferdnyc@gmail.com>
|
|
Date: Thu, 2 Feb 2023 19:57:59 -0500
|
|
Subject: [PATCH] Fix libdir in tesseract.pc from CMake
|
|
|
|
tesseract.pc.cmake was hardcoding libdir to
|
|
`{prefix}/lib`, which is wrong for systems that use
|
|
`/usr/lib64/` on 64-bit. `CMAKE_INSTALL_LIBDIR`
|
|
is already expected to contain the libdir path
|
|
relative to the install prefix.
|
|
---
|
|
tesseract.pc.cmake | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tesseract.pc.cmake b/tesseract.pc.cmake
|
|
index 7f36ce19..5469a398 100644
|
|
--- a/tesseract.pc.cmake
|
|
+++ b/tesseract.pc.cmake
|
|
@@ -1,6 +1,6 @@
|
|
prefix=@CMAKE_INSTALL_PREFIX@
|
|
exec_prefix=${prefix}/bin
|
|
-libdir=${prefix}/lib
|
|
+libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
|
|
includedir=${prefix}/include
|
|
|
|
Name: @tesseract_NAME@
|
|
--
|
|
2.39.1
|
|
|