summaryrefslogtreecommitdiff
path: root/lang/python/python3-package.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/python3-package.mk')
-rw-r--r--lang/python/python3-package.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/python/python3-package.mk b/lang/python/python3-package.mk
index e4c7bd264..3300f1bea 100644
--- a/lang/python/python3-package.mk
+++ b/lang/python/python3-package.mk
@@ -46,7 +46,8 @@ PYTHON3_VARS = \
_python_prefix="/usr" \
_python_exec_prefix="/usr" \
$(CARGO_PKG_CONFIG_VARS) \
- PYO3_CROSS_LIB_DIR="$(PYTHON3_LIB_DIR)"
+ PYO3_CROSS_LIB_DIR="$(PYTHON3_LIB_DIR)" \
+ SETUPTOOLS_RUST_CARGO_PROFILE="$(CARGO_PKG_PROFILE)"
# $(1) => directory of python script
# $(2) => python script and its arguments