aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/pyo3/pyo3.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/pyo3/pyo3.inc')
-rw-r--r--meta-python/recipes-devtools/pyo3/pyo3.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/pyo3/pyo3.inc b/meta-python/recipes-devtools/pyo3/pyo3.inc
new file mode 100644
index 0000000000..56879b4a87
--- /dev/null
+++ b/meta-python/recipes-devtools/pyo3/pyo3.inc
@@ -0,0 +1,7 @@
+
+export PYO3_CROSS="1"
+export PYO3_CROSS_PYTHON_VERSION="${PYTHON_BASEVERSION}"
+export PYO3_CROSS_LIB_DIR="${STAGING_LIBDIR}"
+export CARGO_BUILD_TARGET="${HOST_SYS}"
+export RUSTFLAGS
+export PYO3_PYTHON="${PYTHON}"