From bb114f7afa8021667620f5758cdf6a5fde5627fb Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 20 Sep 2016 09:42:42 +0200 Subject: pcre: cpp support is optional --- package/pcre/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'package/pcre') diff --git a/package/pcre/Makefile b/package/pcre/Makefile index 548c174c6..54995240b 100644 --- a/package/pcre/Makefile +++ b/package/pcre/Makefile @@ -31,6 +31,12 @@ CONFIGURE_ARGS+= --enable-utf \ --enable-unicode-properties XAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS} +ifeq ($(ADK_PACKAGE_LIBPCRECPP),y) +CONFIGURE_ARGS+= --enable-cpp +else +CONFIGURE_ARGS+= --disable-cpp +endif + libpcre-install: ${INSTALL_DIR} ${IDIR_LIBPCRE}/usr/lib ${CP} ${WRKINST}/usr/lib/libpcre{,posix}.so* ${IDIR_LIBPCRE}/usr/lib -- cgit v1.2.3