From b71a81db41d6e75d6d81a61c5f71023a1f21468e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Svensson?= Date: Tue, 6 Sep 2022 11:48:17 +0200 Subject: [PATCH] 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` --- hiredis_ssl.pc.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hiredis_ssl.pc.in b/hiredis_ssl.pc.in index 588a978a5..f7bdd99d4 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