ifeq ($(CROSS_COMPILE),)
PCRE_BUILDER = $(shell command -v pcre2-config)
endif

ifeq ($(PCRE_BUILDER),)
	PCREDEFS=-I$(LOCALBASE)/include
	PCRELIBS=-L$(LOCALBASE)/lib -lpcre2-8
else
	PCREDEFS = $(shell $(PCRE_BUILDER) --cflags)
	PCRELIBS = $(shell $(PCRE_BUILDER) --libs8)
endif

So If you see: make[2]: --libs8: No such file or directory That means that PCRE_BUILDER is not empty but the error suggest that shell is calling just --libs8.

Try to find out what content PCRE_BUILDER is.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/4025/2487840982@github.com>