[openwrt/openwrt] pcre: add host variant of libpcre
LEDE Commits
lede-commits at lists.infradead.org
Thu Aug 13 21:29:22 EDT 2020
dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/ff02e1561f2073b39814f2d73205a5209471b115
commit ff02e1561f2073b39814f2d73205a5209471b115
Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
AuthorDate: Tue Jul 14 16:32:28 2020 -0500
pcre: add host variant of libpcre
This is needed to build the host variant of libselinux.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/libs/pcre/Makefile | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/package/libs/pcre/Makefile b/package/libs/pcre/Makefile
index b638c876da..3655614169 100644
--- a/package/libs/pcre/Makefile
+++ b/package/libs/pcre/Makefile
@@ -61,6 +61,18 @@ define Package/libpcrecpp
DEPENDS:=+libpcre $(CXX_DEPENDS)
endef
+include $(INCLUDE_DIR)/host-build.mk
+
+HOST_CONFIGURE_ARGS += \
+ --enable-utf8 \
+ --enable-unicode-properties \
+ --enable-pcre16 \
+ --with-match-limit-recursion=16000 \
+ --enable-cpp
+
+$(eval $(call HostBuild))
+
+
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \
More information about the lede-commits
mailing list