mirror of
https://github.com/openwrt/packages.git
synced 2026-10-27 07:26:10 +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:
1 parent
7450b5fec5
commit
17090fecf1
1 file changed
+1
-5
+1
-5
@@ -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