Skip to content

Commit

Permalink
Fix pkgconfig for hiredis_ssl
Browse files Browse the repository at this point in the history
Respect an overridden libdir when installing using CMake.
CMake now generates the hiredis_ssl.pc file with the correct
result in `libdir` and `Libs`.

See #767 and CMakes `CMAKE_INSTALL_LIBDIR`
  • Loading branch information
bjosv authored and michael-grunder committed Sep 6, 2022
1 parent 79ae5ff commit 855b48a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hiredis_ssl.pc.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
prefix=@CMAKE_INSTALL_PREFIX@
install_libdir=@CMAKE_INSTALL_LIBDIR@
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
libdir=${exec_prefix}/${install_libdir}
includedir=${prefix}/include
pkgincludedir=${includedir}/hiredis

Expand Down

0 comments on commit 855b48a

Please sign in to comment.