diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2014-01-09 09:12:29 -0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-01-09 13:32:28 +0100 |
commit | 0f03606fdb434bed0d67b26555f2555ad20307e5 (patch) | |
tree | a3201bc4b650fbdf7209e12630c4952432954949 /package/grep | |
parent | e4bf77bf89a108b8e542cc162a4c3c268743fd24 (diff) | |
download | buildroot-0f03606fdb434bed0d67b26555f2555ad20307e5.tar.gz buildroot-0f03606fdb434bed0d67b26555f2555ad20307e5.zip |
grep: enable optional pcre integration
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/grep')
-rw-r--r-- | package/grep/grep.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/grep/grep.mk b/package/grep/grep.mk index 6a039d9353..ee6de390e7 100644 --- a/package/grep/grep.mk +++ b/package/grep/grep.mk @@ -18,6 +18,12 @@ GREP_CONF_ENV += LIBS=-liconv GREP_DEPENDENCIES += libiconv endif +# link with pcre if enabled +ifeq ($(BR2_PACKAGE_PCRE),y) +GREP_CONF_OPT += --enable-perl-regexp +GREP_DEPENDENCIES += pcre +endif + # Full grep preferred over busybox grep ifeq ($(BR2_PACKAGE_BUSYBOX),y) GREP_DEPENDENCIES += busybox |