Module: kamailio
Branch: master
Commit: 163028549df3abd3173a7c0ac8a9dc666c0e4879
URL:
https://github.com/kamailio/kamailio/commit/163028549df3abd3173a7c0ac8a9dc6…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2023-12-22T08:53:32+01:00
db_redis: replace use of grep -P
PCRE option is been removed in BusyBox #3686
---
Modified: src/modules/db_redis/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/163028549df3abd3173a7c0ac8a9dc6…
Patch:
https://github.com/kamailio/kamailio/commit/163028549df3abd3173a7c0ac8a9dc6…
---
diff --git a/src/modules/db_redis/Makefile b/src/modules/db_redis/Makefile
index 815cd056b9d..85d9b9a956f 100644
--- a/src/modules/db_redis/Makefile
+++ b/src/modules/db_redis/Makefile
@@ -30,7 +30,7 @@ else
HIREDISLIBS = $(shell $(HIREDIS_BUILDER) --libs)
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 : ' ')
+ GCCSEARCHDIRS = $(shell $(CC) -print-search-dirs | grep -Eo '^.*libraries:
=.*' | cut -d "=" -f2- | tr : ' ')
ifneq ($(shell find $(GCCSEARCHDIRS) -name libhiredis_ssl.so 2>/dev/null),)
HIREDISDEFS += -DWITH_SSL
HIREDISLIBS += -lhiredis_ssl