diff options
Diffstat (limited to 'lang/python/python-package.mk')
| -rw-r--r-- | lang/python/python-package.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/python/python-package.mk b/lang/python/python-package.mk index 8bfd5e37f..cf4711521 100644 --- a/lang/python/python-package.mk +++ b/lang/python/python-package.mk @@ -116,13 +116,17 @@ define Build/Compile/PyMod find $(PKG_INSTALL_DIR) -name "*\.exe" | xargs rm -f endef +PYTHON_PKG_SETUP_ARGS:=--single-version-externally-managed +PYTHON_PKG_SETUP_VARS:= + define PyBuild/Compile/Default $(foreach pkg,$(HOST_PYTHON_PACKAGE_BUILD_DEPENDS), $(call host_python_pip_install_host,$(pkg)) ) $(call Build/Compile/PyMod,, \ install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \ - --single-version-externally-managed \ + $(PYTHON_PKG_SETUP_ARGS), \ + $(PYTHON_PKG_SETUP_VARS) \ ) endef |
