nixpkgs/pkgs/development/libraries/redis-plus-plus/0001-Fix-pkg-config-paths.patch

15 lines
589 B
Diff

diff --git a/cmake/redis++.pc.in b/cmake/redis++.pc.in
index c98b990..46849b6 100644
--- a/cmake/redis++.pc.in
+++ b/cmake/redis++.pc.in
@@ -1,7 +1,5 @@
-prefix=@CMAKE_INSTALL_PREFIX@
-exec_prefix=${prefix}
-libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
-includedir=${prefix}/include
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
Name: redis++
Description: This is a Redis client, based on hiredis and written in C++11. It supports scritpting, pub/sub, pipeline, transaction, Redis Cluster, Redis Sentinel, connection pool, ACL, SSL and thread safety.