From: Jeffery To Date: Sat, 25 Feb 2023 11:59:40 +0000 (+0800) Subject: python-pycparser: Add host build X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=8f32fd202e2369ad5f8c33e45fb2d2f846613631;p=openwrt-packages.git python-pycparser: Add host build Signed-off-by: Jeffery To --- diff --git a/lang/python/python-pycparser/Makefile b/lang/python/python-pycparser/Makefile index e3720a963..5085372dc 100644 --- a/lang/python/python-pycparser/Makefile +++ b/lang/python/python-pycparser/Makefile @@ -19,10 +19,18 @@ PKG_LICENSE_FILES:=LICENSE PKG_MAINTAINER:=Jeffery To PKG_BUILD_DEPENDS:=python-ply/host # ply==3.10 +HOST_BUILD_DEPENDS:= \ + python3/host \ + python-build/host \ + python-installer/host \ + python-wheel/host \ + python-ply/host include ../pypi.mk include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/host-build.mk include ../python3-package.mk +include ../python3-host-build.mk define Package/python3-pycparser SECTION:=lang @@ -44,3 +52,4 @@ endef $(eval $(call Py3Package,python3-pycparser)) $(eval $(call BuildPackage,python3-pycparser)) $(eval $(call BuildPackage,python3-pycparser-src)) +$(eval $(call HostBuild))