summaryrefslogtreecommitdiff
path: root/package/pcre/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/pcre/Makefile')
-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