aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
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