mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
pcre: remove unnecessary dependency on C++ lib
Add libpcrecpp to PKG_CONFIG_DEPENDS to properly trigger reconfiguration, avoiding unnecessary dependency. This reverts commit17090fecf1. This reverts commitec138f51ab. Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn> (cherry-picked from41814de0fc)
This commit is contained in:
committed by
Rosen Penev
parent
e91e3fd6ad
commit
39001de7b0
@@ -24,6 +24,8 @@ PKG_FIXUP:=autoreconf
|
|||||||
|
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
|
PKG_CONFIG_DEPENDS := CONFIG_PACKAGE_libpcrecpp
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/uclibc++.mk
|
include $(INCLUDE_DIR)/uclibc++.mk
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
@@ -31,7 +33,6 @@ define Package/libpcre/default
|
|||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
URL:=https://www.pcre.org/
|
URL:=https://www.pcre.org/
|
||||||
DEPENDS:=$(CXX_DEPENDS)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libpcre
|
define Package/libpcre
|
||||||
@@ -47,7 +48,7 @@ endef
|
|||||||
define Package/libpcrecpp
|
define Package/libpcrecpp
|
||||||
$(call Package/libpcre/default)
|
$(call Package/libpcre/default)
|
||||||
TITLE:=C++ wrapper for Perl Compatible Regular Expression library
|
TITLE:=C++ wrapper for Perl Compatible Regular Expression library
|
||||||
DEPENDS:=+libpcre
|
DEPENDS:=+libpcre $(CXX_DEPENDS)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC)
|
TARGET_CFLAGS += $(FPIC)
|
||||||
@@ -57,8 +58,7 @@ CONFIGURE_ARGS += \
|
|||||||
--enable-unicode-properties \
|
--enable-unicode-properties \
|
||||||
--enable-pcre16 \
|
--enable-pcre16 \
|
||||||
--with-match-limit-recursion=16000 \
|
--with-match-limit-recursion=16000 \
|
||||||
--enable-cpp
|
$(if $(CONFIG_PACKAGE_libpcrecpp),--enable,--disable)-cpp
|
||||||
|
|
||||||
|
|
||||||
MAKE_FLAGS += \
|
MAKE_FLAGS += \
|
||||||
CFLAGS="$(TARGET_CFLAGS)"
|
CFLAGS="$(TARGET_CFLAGS)"
|
||||||
|
|||||||
Reference in New Issue
Block a user