Module: kamailio
Branch: master
Commit: ca4509013a123f02d6d9c09d016fce3fea3e3dbe
URL: 
https://github.com/kamailio/kamailio/commit/ca4509013a123f02d6d9c09d016fce3fea3e3dbe

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@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/ca4509013a123f02d6d9c09d016fce3fea3e3dbe.diff
Patch: 
https://github.com/kamailio/kamailio/commit/ca4509013a123f02d6d9c09d016fce3fea3e3dbe.patch

---

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

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to