|
@@ -19,9 +19,12 @@ else
|
|
GIT_CONF_OPTS += --without-openssl
|
|
GIT_CONF_OPTS += --without-openssl
|
|
endif
|
|
endif
|
|
|
|
|
|
-ifeq ($(BR2_PACKAGE_PCRE),y)
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_PCRE2),y)
|
|
|
|
+GIT_DEPENDENCIES += pcre2
|
|
|
|
+GIT_CONF_OPTS += --with-libpcre2
|
|
|
|
+else ifeq ($(BR2_PACKAGE_PCRE),y)
|
|
GIT_DEPENDENCIES += pcre
|
|
GIT_DEPENDENCIES += pcre
|
|
-GIT_CONF_OPTS += --with-libpcre
|
|
|
|
|
|
+GIT_CONF_OPTS += --with-libpcre1
|
|
GIT_MAKE_OPTS += NO_LIBPCRE1_JIT=1
|
|
GIT_MAKE_OPTS += NO_LIBPCRE1_JIT=1
|
|
else
|
|
else
|
|
GIT_CONF_OPTS += --without-libpcre
|
|
GIT_CONF_OPTS += --without-libpcre
|