Skip to content

Commit 56d6547

Browse files
committed
updated workflow to fix termux build
1 parent 0367d90 commit 56d6547

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ jobs:
8080
run: |
8181
docker run --rm --platform linux/arm64 -v ${{ github.workspace }}:/work -w /work termux/termux-docker:aarch64 sh -c "
8282
pkg update && pkg install -y python binutils build-essential clang &&
83+
84+
# Create a mock ldd command to satisfy PyInstaller's setup check
85+
echo '#!/bin/sh' > /usr/bin/ldd &&
86+
echo 'echo \"not musl\" >&2' >> /usr/bin/ldd &&
87+
chmod +x /usr/bin/ldd &&
88+
8389
export PYINSTALLER_COMPILE_BOOTLOADER=1 &&
8490
pip install pyinstaller click rich &&
8591
pyinstaller --onefile --name=warpshare-linux-bionic-aarch64 cli.py

0 commit comments

Comments
 (0)