mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 19:04:32 +04:00
pcre: Fix compile of libpcrecpp
If the cpp lib is added after pcre is first compiled, pcre will not be reconfigured and the build will fail. Fix this by always building the cpp parts. Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
This commit is contained in:
@@ -55,12 +55,8 @@ CONFIGURE_ARGS += \
|
||||
--enable-unicode-properties \
|
||||
--enable-pcre16 \
|
||||
--with-match-limit-recursion=16000 \
|
||||
--enable-cpp
|
||||
|
||||
ifneq ($(CONFIG_PACKAGE_libpcrecpp),)
|
||||
CONFIGURE_ARGS+= --enable-cpp
|
||||
else
|
||||
CONFIGURE_ARGS+= --disable-cpp
|
||||
endif
|
||||
|
||||
MAKE_FLAGS += \
|
||||
CFLAGS="$(TARGET_CFLAGS)"
|
||||
|
||||
Reference in New Issue
Block a user