mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-08-28 00:11:15 +00:00
initial commit
This commit is contained in:
22
SQUASHFS/SRC/build_lzma.sh
Normal file
22
SQUASHFS/SRC/build_lzma.sh
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
LIBDIR=$PWD/../LIB/LZMA
|
||||
|
||||
rm -rf $LIBDIR
|
||||
rm -rf liblzma-master
|
||||
unzip liblzma-master.zip
|
||||
|
||||
cd liblzma-master
|
||||
./configure --prefix=$LIBDIR --disable-xz --disable-xzdec --disable-lzmadec --disable-lzmainfo --enable-small
|
||||
make -j 8 && make install
|
||||
|
||||
cd ..
|
||||
rm -rf liblzma-master
|
||||
|
||||
if [ -d $LIBDIR ]; then
|
||||
echo -e "\n========== SUCCESS ============\n"
|
||||
else
|
||||
echo -e "\n========== FAILED ============\n"
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user