HIREDISDEFS=-I$(LOCALBASE)/include
--- a/src/modules/db_redis/Makefile
+++ b/src/modules/db_redis/Makefile
-@@ -5,12 +5,10 @@ include ../../Makefile.defs
+@@ -5,7 +5,6 @@ include ../../Makefile.defs
auto_gen=
NAME=db_redis.so
HIREDIS_BUILDER = $(shell \
if pkg-config --exists hiredis; then \
echo 'pkg-config hiredis'; \
+@@ -16,8 +15,6 @@ HIREDIS_CLUSTER_BUILDER = $(shell \
+ echo 'pkg-config hiredis_cluster'; \
fi)
--endif
+-endif
+-
ifeq ($(HIREDIS_BUILDER),)
HIREDISDEFS=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/hiredis -I/usr/include/hiredis
+ HIREDISLIBS=-L$(LOCALBASE)/lib -lhiredis
--- a/src/modules/ndb_redis/Makefile
+++ b/src/modules/ndb_redis/Makefile
@@ -5,12 +5,10 @@ include ../../Makefile.defs