Browse Source

Merge pull request #9535 from dengqf6/pcre

pcre: remove unnecessary dependency on C++ lib
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
83b354dbd0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      libs/pcre/Makefile

+ 4
- 4
libs/pcre/Makefile View File

@ -23,6 +23,8 @@ PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_CONFIG_DEPENDS := CONFIG_PACKAGE_libpcrecpp
include $(INCLUDE_DIR)/uclibc++.mk
include $(INCLUDE_DIR)/package.mk
@ -30,7 +32,6 @@ define Package/libpcre/default
SECTION:=libs
CATEGORY:=Libraries
URL:=https://www.pcre.org/
DEPENDS:=$(CXX_DEPENDS)
endef
define Package/libpcre
@ -46,7 +47,7 @@ endef
define Package/libpcrecpp
$(call Package/libpcre/default)
TITLE:=C++ wrapper for Perl Compatible Regular Expression library
DEPENDS:=+libpcre
DEPENDS:=+libpcre $(CXX_DEPENDS)
endef
TARGET_CFLAGS += $(FPIC)
@ -56,8 +57,7 @@ CONFIGURE_ARGS += \
--enable-unicode-properties \
--enable-pcre16 \
--with-match-limit-recursion=16000 \
--enable-cpp
$(if $(CONFIG_PACKAGE_libpcrecpp),--enable,--disable)-cpp
MAKE_FLAGS += \
CFLAGS="$(TARGET_CFLAGS)"


Loading…
Cancel
Save