Module: kamailio
Branch: master
Commit: ca4509013a123f02d6d9c09d016fce3fea3e3dbe
URL:
https://github.com/kamailio/kamailio/commit/ca4509013a123f02d6d9c09d016fce3…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2023-12-22T08:53:45+01:00
ndb_redis: replace use of grep -P
PCRE option is been removed in BusyBox #3686
---
Modified: src/modules/ndb_redis/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/ca4509013a123f02d6d9c09d016fce3…
Patch:
https://github.com/kamailio/kamailio/commit/ca4509013a123f02d6d9c09d016fce3…
---
diff --git a/src/modules/ndb_redis/Makefile b/src/modules/ndb_redis/Makefile
index ba085ca2735..429b69d6ea3 100644
--- a/src/modules/ndb_redis/Makefile
+++ b/src/modules/ndb_redis/Makefile
@@ -24,7 +24,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