modified: .github/workflows/mikrotik_patch.yml

This commit is contained in:
zyb 2024-06-16 04:18:39 +08:00
parent d4675ae3d6
commit 9d065fdf9b

View File

@ -66,12 +66,12 @@ jobs:
rm -f Python-3.11.9.tar.xz rm -f Python-3.11.9.tar.xz
sudo mkdir -p /pckg/python3/ sudo mkdir -p /pckg/python3/
cd Python-3.11.9 cd Python-3.11.9
sudo apt install -y pkg-config libbz2-dev liblzma-dev libssl-dev libgd-dev libreadline-dev zlib1g-dev sudo apt install -y pkg-config libbz2-dev liblzma-dev libssl-dev libgd-dev libreadline-dev zlib1g-dev libgdbm-dev
./configure --enable-optimizations --prefix=/pckg/python3/ CONFIGURE_LDFLAGS="-static" --disable-test-modules --without-static-libpython ./configure --enable-optimizations --prefix=/pckg/python3/ --disable-test-modules --without-static-libpython CONFIGURE_LDFLAGS="-static"
make -j$(nproc) make -j$(nproc)
sudo make altinstall sudo make altinstall
cd .. cd ..
rm -rf Python-3.11.9 sudo rm -rf Python-3.11.9
sudo mksquashfs /pckg/python3 python3.sfs -quiet -comp xz -no-xattrs -b 256 sudo mksquashfs /pckg/python3 python3.sfs -quiet -comp xz -no-xattrs -b 256
sudo rm -rf /pckg sudo rm -rf /pckg