From 3fa0c06d48acbbc94a58d4bbcd03345539451a70 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Mon, 3 Jul 2017 10:46:59 +0300 Subject: [PATCH] python,python3: add dependency on CONFIG_PACKAGE_ symbols for setuptools & pip If you build python/python3 and later decide to build python(3)-setuptools and/or python(3)-pip, the build won't re-run without adding `CONFIG_PACKAGE_python(3)-setuptools` and `CONFIG_PACKAGE_python(3)-pip`. Seems to resolve issue: https://github.com/openwrt/packages/issues/4529 Signed-off-by: Alexandru Ardelean --- lang/python/python/Makefile | 2 ++ lang/python/python3/Makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lang/python/python/Makefile b/lang/python/python/Makefile index 77652bd1f6..d4c657b4f2 100644 --- a/lang/python/python/Makefile +++ b/lang/python/python/Makefile @@ -35,6 +35,8 @@ HOST_BUILD_PARALLEL:=1 PKG_BUILD_DIR:=$(BUILD_DIR)/Python-$(PKG_VERSION) HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/Python-$(PKG_VERSION) +PKG_CONFIG_DEPENDS:=CONFIG_PACKAGE_python-setuptools CONFIG_PACKAGE_python-pip + PKG_BUILD_DEPENDS:=python/host HOST_BUILD_DEPENDS:=bzip2/host expat/host diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile index 614dc2c880..02c1031932 100644 --- a/lang/python/python3/Makefile +++ b/lang/python/python3/Makefile @@ -38,6 +38,8 @@ HOST_BUILD_PARALLEL:=1 PKG_BUILD_DIR:=$(BUILD_DIR)/Python-$(PKG_VERSION) HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/Python-$(PKG_VERSION) +PKG_CONFIG_DEPENDS:=CONFIG_PACKAGE_python3-setuptools CONFIG_PACKAGE_python3-pip + PKG_BUILD_DEPENDS:=python3/host HOST_BUILD_DEPENDS:=bzip2/host expat/host libffi/host -- 2.30.2