We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f2c73a commit 0a24666Copy full SHA for 0a24666
tur-pypi-312/python3.12-pydantic-core/build.sh
@@ -37,7 +37,8 @@ termux_step_make_install() {
37
export PYO3_CROSS_LIB_DIR=$TERMUX_PREFIX/lib
38
export PYTHONPATH=$TERMUX_PREFIX/lib/python${TERMUX_PYTHON_VERSION}/site-packages
39
40
- export RUSTFLAGS="-C link-args=-L$TERMUX_PREFIX/lib $RUSTFLAGS"
+ local env_host=$(printf $CARGO_TARGET_NAME | tr a-z A-Z | sed s/-/_/g)
41
+ export CARGO_TARGET_${env_host}_RUSTFLAGS+=" -C link-arg=-L$TERMUX_PREFIX/lib"
42
43
build-python -m maturin build --release --skip-auditwheel --target $CARGO_BUILD_TARGET
44
0 commit comments