Module: kamailio
Branch: master
Commit: b4b358f1fe79362babe637921666b3d6001407b4
URL:
https://github.com/kamailio/kamailio/commit/b4b358f1fe79362babe637921666b3d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-09-25T10:09:15+02:00
db_redis: Makefile - added -I/usr/include/hiredis for old distro
---
Modified: src/modules/db_redis/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/b4b358f1fe79362babe637921666b3d…
Patch:
https://github.com/kamailio/kamailio/commit/b4b358f1fe79362babe637921666b3d…
---
diff --git a/src/modules/db_redis/Makefile b/src/modules/db_redis/Makefile
index 8e7ad1f74b..bf3b66e8fb 100644
--- a/src/modules/db_redis/Makefile
+++ b/src/modules/db_redis/Makefile
@@ -16,7 +16,7 @@ ifeq ($(HIREDIS_BUILDER),)
HIREDISDEFS=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/hiredis
HIREDISLIBS=-L$(LOCALBASE)/lib -lhiredis
else
- HIREDISDEFS = $(shell $(HIREDIS_BUILDER) --cflags)
+ HIREDISDEFS = $(shell $(HIREDIS_BUILDER) --cflags) -I/usr/include/hiredis
HIREDISLIBS = $(shell $(HIREDIS_BUILDER) --libs)
ifeq ($(HIREDISLIBS),-L -lhiredis)