I have updated src/modules/regex/Makefile
diff --git a/src/modules/regex/Makefile b/src/modules/regex/Makefile
index db036b67d9..1ccf92a4e8 100644
--- a/src/modules/regex/Makefile
+++ b/src/modules/regex/Makefile
@@ -6,6 +6,7 @@ NAME=regex.so
ifeq ($(CROSS_COMPILE),)
PCRE_BUILDER = $(shell command -v pcre2-config)
+$(info $(PCRE_BUILDER))
endif
ifeq ($(PCRE_BUILDER),)
And now make
output shows builder values
[root@nout regex]# make clean && make
/usr/bin/pcre2-config
/usr/bin/pcre2-config
make: --libs8: No such file or directory
CC (gcc) [M regex.so] regex_mod.o
LD (gcc) [M regex.so] regex.so
Then I deleted a string
LIBS+=$(PCRELIBS)
The error was not printed anymore. Then, I made a conclusion, the error related to the updated list of used libs.
Then I added the deleted sting back and printed LIBS
value before and after the update.
diff --git a/src/modules/regex/Makefile b/src/modules/regex/Makefile
index db036b67d9..354377b0b5 100644
--- a/src/modules/regex/Makefile
+++ b/src/modules/regex/Makefile
@@ -17,6 +17,8 @@ else
endif
DEFS+=$(PCREDEFS)
+$(info $(LIBS))
LIBS+=$(PCRELIBS)
+$(info $(LIBS))
include ../../Makefile.modules
The output looks like
[root@nout regex]# make clean && make
-ldl -lresolv -lm
-ldl -lresolv -lm -lpcre2-8
-ldl -lresolv -lm
-ldl -lresolv -lm -lpcre2-8
make: --libs8: No such file or directory
-ldl -lresolv -lm
-ldl -lresolv -lm -lpcre2-8
make: --libs8: No such file or directory
CC (gcc) [M regex.so] regex_mod.o
LD (gcc) [M regex.so] regex.so
Looks like LIBS
value update is correct and nothing to fix here.
Probable here build tools issues like
wolfSSL/wolfssl#8190
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.