summaryrefslogtreecommitdiff
path: root/package/pcre
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-20 09:42:42 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-20 09:42:42 +0200
commitbb114f7afa8021667620f5758cdf6a5fde5627fb (patch)
tree5dab58d7649aab01197427692a23b468a31013f7 /package/pcre
parent5f6789e9851a02d2e9fda9dc7e4b40cdc74c74d6 (diff)
pcre: cpp support is optional
Diffstat (limited to 'package/pcre')
-rw-r--r--package/pcre/Makefile6
1 files changed, 6 insertions, 0 deletions
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