From 1684d7b24efa49f890d59f260a86be3aaddad256 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Fri, 24 Jan 2020 23:28:30 +0530 Subject: Makefile option to compile with PCRE lib Command: make O_PCRE=1 strip --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6b99a05..0f64d45 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,11 @@ else LDLIBS += -lreadline endif +ifeq ($(O_PCRE),1) + CPPFLAGS += -DPCRE + LDLIBS += -lpcre +endif + ifeq ($(O_NOLOC),1) CPPFLAGS += -DNOLOCALE endif -- cgit v1.2.3-70-g09d2