Module: kamailio
Branch: master
Commit: d88d60a0f3d67f42e4201d6c871bbf993e6fa87b
URL:
https://github.com/kamailio/kamailio/commit/d88d60a0f3d67f42e4201d6c871bbf9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-06-20T11:03:04+02:00
db_redis: Makefile - updated find command for libhiredis_ssl
- silent warnings about not existing directories
---
Modified: src/modules/db_redis/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/d88d60a0f3d67f42e4201d6c871bbf9…
Patch:
https://github.com/kamailio/kamailio/commit/d88d60a0f3d67f42e4201d6c871bbf9…
---
diff --git a/src/modules/db_redis/Makefile b/src/modules/db_redis/Makefile
index f2231c26aec..815cd056b9d 100644
--- a/src/modules/db_redis/Makefile
+++ b/src/modules/db_redis/Makefile
@@ -31,7 +31,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