From: Gustavo Zacarias Date: Thu, 9 Jan 2014 12:12:29 +0000 (-0300) Subject: grep: enable optional pcre integration X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f03606fdb434bed0d67b26555f2555ad20307e5;p=buildroot.git grep: enable optional pcre integration Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- 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