Makefile option to compile with PCRE lib

Command: make O_PCRE=1 strip
This commit is contained in:
Arun Prakash Jana 2020-01-24 23:28:30 +05:30
parent e5ad7d81ff
commit 1684d7b24e
No known key found for this signature in database
GPG key ID: A75979F35C080412
2 changed files with 6 additions and 1 deletions

View file

@ -37,6 +37,11 @@ else
LDLIBS += -lreadline LDLIBS += -lreadline
endif endif
ifeq ($(O_PCRE),1)
CPPFLAGS += -DPCRE
LDLIBS += -lpcre
endif
ifeq ($(O_NOLOC),1) ifeq ($(O_NOLOC),1)
CPPFLAGS += -DNOLOCALE CPPFLAGS += -DNOLOCALE
endif endif

View file

@ -58,7 +58,7 @@ It runs smoothly on the Pi, [Termux](https://www.youtube.com/watch?v=AbaauM7gUJw
- CD on quit (*easy* shell integration) - CD on quit (*easy* shell integration)
- Search - Search
- Instant filtering with *search-as-you-type* - Instant filtering with *search-as-you-type*
- Regex and substring (default) matches - Regex (POSIX/PCRE) and string (default) filters
- Subtree search plugin to open or edit files - Subtree search plugin to open or edit files
- Sort - Sort
- Ordered pure numeric names by default (visit _/proc_) - Ordered pure numeric names by default (visit _/proc_)