diff options
author | Josef Schlehofer <pepe.schlehofer@gmail.com> | 2019-04-05 12:54:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-05 12:54:49 +0200 |
commit | 409556b3fdb578bde72ed1bbe981c534ac9929c8 (patch) | |
tree | cc5850b53f6d39e9db94752f0fa08224599d6315 | |
parent | b8f0b6b07e08649c1c92097087fe97d7640aa614 (diff) | |
parent | 9995fe7732a8ad220476a40fec742c99a01df5e8 (diff) |
Merge pull request #8600 from jefferyto/python-pkg-setup-global-args
python,python3: Add PYTHON[3]_PKG_SETUP_GLOBAL_ARGS
-rw-r--r-- | lang/python/python-package.mk | 2 | ||||
-rw-r--r-- | lang/python/python3-package.mk | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lang/python/python-package.mk b/lang/python/python-package.mk index e1196bbb8..c594f614e 100644 --- a/lang/python/python-package.mk +++ b/lang/python/python-package.mk @@ -116,6 +116,7 @@ define Build/Compile/PyMod endef PYTHON_PKG_SETUP_DIR ?= +PYTHON_PKG_SETUP_GLOBAL_ARGS ?= PYTHON_PKG_SETUP_ARGS ?= --single-version-externally-managed PYTHON_PKG_SETUP_VARS ?= @@ -125,6 +126,7 @@ define PyBuild/Compile/Default ) $(call Build/Compile/PyMod, \ $(PYTHON_PKG_SETUP_DIR), \ + $(PYTHON_PKG_SETUP_GLOBAL_ARGS) \ install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \ $(PYTHON_PKG_SETUP_ARGS), \ $(PYTHON_PKG_SETUP_VARS) \ diff --git a/lang/python/python3-package.mk b/lang/python/python3-package.mk index 40feef420..4a3dddd64 100644 --- a/lang/python/python3-package.mk +++ b/lang/python/python3-package.mk @@ -115,6 +115,7 @@ define Build/Compile/Py3Mod endef PYTHON3_PKG_SETUP_DIR ?= +PYTHON3_PKG_SETUP_GLOABL_ARGS ?= PYTHON3_PKG_SETUP_ARGS ?= --single-version-externally-managed PYTHON3_PKG_SETUP_VARS ?= @@ -124,6 +125,7 @@ define Py3Build/Compile/Default ) $(call Build/Compile/Py3Mod, \ $(PYTHON3_PKG_SETUP_DIR), \ + $(PYTHON3_PKG_SETUP_GLOBAL_ARGS) \ install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \ $(PYTHON3_PKG_SETUP_ARGS), \ $(PYTHON3_PKG_SETUP_VARS) \ |