[PATCH 4/4] pcre2: for libeselinux

Dominick Grift dominick.grift at defensec.nl
Thu May 19 09:37:31 PDT 2022


libselinux-3.4 uses pcre2

Signed-off-by: Dominick Grift <dominick.grift at defensec.nl>
---
 package/libs/pcre2/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/libs/pcre2/Makefile b/package/libs/pcre2/Makefile
index e9d43c3d24..923387b361 100644
--- a/package/libs/pcre2/Makefile
+++ b/package/libs/pcre2/Makefile
@@ -20,6 +20,9 @@ PKG_LICENSE:=BSD-3-Clause
 PKG_LICENSE_FILES:=LICENCE
 PKG_CPE_ID:=cpe:/a:pcre:pcre
 
+PKG_INSTALL:=1
+PKG_BUILD_PARALLEL:=1
+
 PKG_CONFIG_DEPENDS:=\
 	CONFIG_PACKAGE_libpcre2-16 \
 	CONFIG_PACKAGE_libpcre2-32 \
@@ -27,6 +30,7 @@ PKG_CONFIG_DEPENDS:=\
 
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/cmake.mk
+include $(INCLUDE_DIR)/host-build.mk
 
 define Package/libpcre2/default
   SECTION:=libs
@@ -90,3 +94,4 @@ endef
 $(eval $(call BuildPackage,libpcre2))
 $(eval $(call BuildPackage,libpcre2-16))
 $(eval $(call BuildPackage,libpcre2-32))
+$(eval $(call HostBuild))
-- 
2.36.1




More information about the openwrt-devel mailing list