summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/git/git.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/git/git.mk b/package/git/git.mk
index 138a8b6038..75d5140e0c 100644
--- a/package/git/git.mk
+++ b/package/git/git.mk
@@ -23,8 +23,8 @@ else
GIT_CONF_OPTS += --without-openssl
endif
-ifeq ($(BR2_PACKAGE_PERL),y)
-GIT_DEPENDENCIES += perl
+ifeq ($(BR2_PACKAGE_PCRE),y)
+GIT_DEPENDENCIES += pcre
GIT_CONF_OPTS += --with-libpcre
else
GIT_CONF_OPTS += --without-libpcre
OpenPOWER on IntegriCloud