Skip to content

Commit

Permalink
Fix libdir in tesseract.pc from CMake
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ferdnyc authored Feb 3, 2023
1 parent 1c09782 commit 5e116fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tesseract.pc.cmake
Original file line number Diff line number Diff line change
@@ -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@
Expand Down

0 comments on commit 5e116fa

Please sign in to comment.