From 17090fecf18c795f5bfa5e1ea375ccd65d24f227 Mon Sep 17 00:00:00 2001 From: Jan Kardell Date: Sun, 10 Mar 2019 17:30:39 +0100 Subject: [PATCH] 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 --- libs/pcre/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libs/pcre/Makefile b/libs/pcre/Makefile index 3208aa7ac..945819e4c 100644 --- a/libs/pcre/Makefile +++ b/libs/pcre/Makefile @@ -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)"