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 ed7443a commit 938f143Copy full SHA for 938f143
tur-pypi-311/python3.11-pydantic-core/build.sh
@@ -41,7 +41,8 @@ termux_step_make_install() {
41
export PYO3_CROSS_LIB_DIR=$TERMUX_PREFIX/lib
42
export PYTHONPATH=$TERMUX_PREFIX/lib/python${TERMUX_PYTHON_VERSION}/site-packages
43
44
- 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)
45
+ export CARGO_TARGET_${env_host}_RUSTFLAGS+=" -C link-arg=-L$TERMUX_PREFIX/lib"
46
47
build-python -m maturin build --release --skip-auditwheel --target $CARGO_BUILD_TARGET
48
0 commit comments