mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 14:17:02 +02:00
python3-mitmproxy_wireguard: inherit PYO3_CROSS variables from rust helper
This commit is contained in:
parent
d97e0e71a5
commit
71136429a8
1 changed files with 0 additions and 4 deletions
|
@ -16,10 +16,6 @@ distfiles="https://github.com/decathorpe/mitmproxy_wireguard/archive/${version}.
|
|||
checksum=749b5b45222b629f4cced154cc4bf70ba7ae3061db02e2ea0ae45a4ae6246463
|
||||
|
||||
do_build() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
export PYO3_CROSS_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib"
|
||||
export PYO3_CROSS_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
|
||||
fi
|
||||
# Taken from ../python3-adblock/template
|
||||
maturin build -o . --release --target "${RUST_TARGET}" --manylinux off
|
||||
mkdir -p dist
|
||||
|
|
Loading…
Add table
Reference in a new issue