diff mbox series

[4/4] pcre2: for libeselinux

Message ID 20220519163731.164817-5-dominick.grift@defensec.nl
State New
Headers show
Series Adds pcre2 to base | expand

Commit Message

Dominick Grift May 19, 2022, 4:37 p.m. UTC
libselinux-3.4 uses pcre2

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

Patch

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))