summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2017-07-03 10:46:59 +0300
committerAlexandru Ardelean <ardeleanalex@gmail.com>2017-07-03 16:11:57 +0300
commit3fa0c06d48acbbc94a58d4bbcd03345539451a70 (patch)
treead452379bfad2447d3c4c4a081f894e314f103f5 /lang/python
parenta2b76b54030c0771b28c501dfd699898b8a85fd6 (diff)
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 <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/python/Makefile2
-rw-r--r--lang/python/python3/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/lang/python/python/Makefile b/lang/python/python/Makefile
index 77652bd1f..d4c657b4f 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 614dc2c88..02c103193 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