mirror of https://github.com/ventoy/Ventoy
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
378 B
Bash
24 lines
378 B
Bash
#!/bin/bash
|
|
|
|
LIBDIR=$PWD/../LIB/ZSTD
|
|
ZSTDDIR=zstd-1.4.4
|
|
|
|
rm -rf $LIBDIR
|
|
rm -rf $ZSTDDIR
|
|
tar -xf ${ZSTDDIR}.tar.gz
|
|
|
|
|
|
cd $ZSTDDIR
|
|
PREFIX=$LIBDIR ZSTD_LIB_COMPRESSION=0 make
|
|
PREFIX=$LIBDIR ZSTD_LIB_COMPRESSION=0 make install
|
|
|
|
cd ..
|
|
rm -rf $ZSTDDIR
|
|
|
|
if [ -d $LIBDIR ]; then
|
|
echo -e "\n========== SUCCESS ============\n"
|
|
else
|
|
echo -e "\n========== FAILED ============\n"
|
|
fi
|
|
|