diff options
author | Björn Svensson <bjorn.a.svensson@est.tech> | 2022-09-06 11:48:17 +0200 |
---|---|---|
committer | Michael Grunder <michael.grunder@gmail.com> | 2022-09-06 09:11:00 -0700 |
commit | 855b48a8191cd1fab865091cf4760017f85594a7 (patch) | |
tree | e77def6ec07a6dd928f23f734d5d3d08b9a5facb /hiredis_ssl.pc.in | |
parent | 79ae5ffc693b57688b4c76141fd2c94868ebdbff (diff) |
Fix pkgconfig for hiredis_ssl
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`
Diffstat (limited to 'hiredis_ssl.pc.in')
-rw-r--r-- | hiredis_ssl.pc.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hiredis_ssl.pc.in b/hiredis_ssl.pc.in index 588a978..f7bdd99 100644 --- a/hiredis_ssl.pc.in +++ b/hiredis_ssl.pc.in @@ -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 |