Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tur-pypi-311/python3.11-pydantic-core/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ termux_step_make_install() {
export PYO3_CROSS_LIB_DIR=$TERMUX_PREFIX/lib
export PYTHONPATH=$TERMUX_PREFIX/lib/python${TERMUX_PYTHON_VERSION}/site-packages

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)
export CARGO_TARGET_${env_host}_RUSTFLAGS+=" -C link-arg=-L$TERMUX_PREFIX/lib"

build-python -m maturin build --release --skip-auditwheel --target $CARGO_BUILD_TARGET

Expand Down