浏览代码

Makefile option to compile with PCRE lib

Command: make O_PCRE=1 strip
master
Arun Prakash Jana 5 年前
父节点
当前提交
1684d7b24e
找不到此签名对应的密钥 GPG 密钥 ID: A75979F35C080412
共有 2 个文件被更改,包括 6 次插入1 次删除
  1. +5
    -0
      Makefile
  2. +1
    -1
      README.md

+ 5
- 0
Makefile 查看文件

@@ -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


+ 1
- 1
README.md 查看文件

@@ -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_)


||||||
x
 
000:0
正在加载...
取消
保存