This is needed to build the host variant of libselinux. Signed-off-by: Thomas Petazzoni <thomas.petazz...@bootlin.com> --- libs/pcre/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+)
diff --git a/libs/pcre/Makefile b/libs/pcre/Makefile index 720142332..29fda6749 100644 --- a/libs/pcre/Makefile +++ b/libs/pcre/Makefile @@ -51,6 +51,17 @@ 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 += \ -- 2.23.0 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel