Module: kamailio
Branch: master
Commit: d29d435cad3ec52f4171035446870ad2fe991858
URL:
https://github.com/kamailio/kamailio/commit/d29d435cad3ec52f4171035446870ad…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-06-20T11:04:30+02:00
ndb_redis: Makefile - updated find command for libhiredis_ssl
- silent warnings about not existing directories
---
Modified: src/modules/ndb_redis/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/d29d435cad3ec52f4171035446870ad…
Patch:
https://github.com/kamailio/kamailio/commit/d29d435cad3ec52f4171035446870ad…
---
diff --git a/src/modules/ndb_redis/Makefile b/src/modules/ndb_redis/Makefile
index 6b27f72386..ba085ca273 100644
--- a/src/modules/ndb_redis/Makefile
+++ b/src/modules/ndb_redis/Makefile
@@ -25,7 +25,7 @@ else
HIREDISLIBSPATH = $(shell $(HIREDIS_BUILDER) --libs-only-L | cut -c 3-)
ifeq ($(HIREDISLIBSPATH),)
GCCSEARCHDIRS = $(shell $(CC) -print-search-dirs | grep -Po '^.*libraries:
=.*' | cut -d "=" -f2- | tr : ' ')
- ifneq ($(shell find $(GCCSEARCHDIRS) libhiredis_ssl.so),)
+ ifneq ($(shell find $(GCCSEARCHDIRS) -name libhiredis_ssl.so 2>/dev/null),)
HIREDISDEFS += -DWITH_SSL
HIREDISLIBS += -lhiredis_ssl
endif