Do not use bundlded zlib in LibXISF
This commit is contained in:
@@ -30,7 +30,7 @@ cd "$ROOTDIR"
|
|||||||
[ ! -d "libXISF" ] && { git clone https://gitea.nouspiro.space/nou/libXISF.git || { echo "Failed to clone LibXISF"; exit 1; } }
|
[ ! -d "libXISF" ] && { git clone https://gitea.nouspiro.space/nou/libXISF.git || { echo "Failed to clone LibXISF"; exit 1; } }
|
||||||
cd libXISF
|
cd libXISF
|
||||||
git pull origin
|
git pull origin
|
||||||
[ ! -d ../build-libXISF ] && { cmake -B ../build-libXISF ../libXISF -DCMAKE_BUILD_TYPE=Release || { echo "LibXISF configuration failed"; exit 1; } }
|
[ ! -d ../build-libXISF ] && { cmake -B ../build-libXISF ../libXISF -DCMAKE_BUILD_TYPE=Release -DUSE_BUNDLED_ZLIB=OFF || { echo "LibXISF configuration failed"; exit 1; } }
|
||||||
cd ../build-libXISF
|
cd ../build-libXISF
|
||||||
make -j $JOBS || { echo "LibXISF compilation failed"; exit 1; }
|
make -j $JOBS || { echo "LibXISF compilation failed"; exit 1; }
|
||||||
sudo make install || { echo "LibXISF installation failed"; exit 1; }
|
sudo make install || { echo "LibXISF installation failed"; exit 1; }
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ cd "$ROOTDIR"
|
|||||||
cd libXISF
|
cd libXISF
|
||||||
git fetch origin
|
git fetch origin
|
||||||
git switch -d --discard-changes $LIBXISF_COMMIT
|
git switch -d --discard-changes $LIBXISF_COMMIT
|
||||||
[ ! -d ../build-libXISF ] && { cmake -B ../build-libXISF ../libXISF -DCMAKE_BUILD_TYPE=Release || { echo "LibXISF configuration failed"; exit 1; } }
|
[ ! -d ../build-libXISF ] && { cmake -B ../build-libXISF ../libXISF -DCMAKE_BUILD_TYPE=Release -DUSE_BUNDLED_ZLIB=OFF || { echo "LibXISF configuration failed"; exit 1; } }
|
||||||
cd ../build-libXISF
|
cd ../build-libXISF
|
||||||
make -j $JOBS || { echo "LibXISF compilation failed"; exit 1; }
|
make -j $JOBS || { echo "LibXISF compilation failed"; exit 1; }
|
||||||
sudo make install || { echo "LibXISF installation failed"; exit 1; }
|
sudo make install || { echo "LibXISF installation failed"; exit 1; }
|
||||||
|
|||||||
Reference in New Issue
Block a user