aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2022-12-03 15:08:37 -0500
committerAdam Harrison <adamdharrison@gmail.com>2022-12-03 15:08:37 -0500
commite486ece910368c0e5849517b7dafefabd22f2209 (patch)
tree6c2b3505c4e5b26eeb22bd5b5b78642df4c67e89 /build.sh
parent9afefc5f58f8d00926aa60a56a5672b739fa30b4 (diff)
downloadlite-xl-plugin-manager-e486ece910368c0e5849517b7dafefabd22f2209.tar.gz
lite-xl-plugin-manager-e486ece910368c0e5849517b7dafefabd22f2209.zip
Better error handling.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 9bdd417..9087cff 100755
--- a/build.sh
+++ b/build.sh
@@ -17,7 +17,7 @@ mkdir -p lib/prefix/include lib/prefix/lib
if [[ "$@" != *"-lz"* ]]; then
[ ! -e "lib/zlib" ] && echo "Make sure you've cloned submodules. (git submodule update --init --depth=1)" && exit -1
[[ ! -e "lib/zlib/build" && $OSTYPE != 'msys'* ]] && cd lib/zlib && mkdir build && cd build && ../configure --static --prefix=`pwd`/../../prefix && $MAKE -j $JOBS && $MAKE install && cd ../../../
- [[ ! -e "lib/zlib/build" && $OSTYPE == 'msys'* ]] && cd lib/zlib && mkdir build && $MAKE -f ../win32/Makefile.gcc -j $JOBS && cp *.a ../prefix/lib && cp *.h ../prefix/include && cd ../../
+ [[ ! -e "lib/zlib/build" && $OSTYPE == 'msys'* ]] && cd lib/zlib && mkdir build && $MAKE -f win32/Makefile.gcc -j $JOBS && cp *.a ../prefix/lib && cp *.h ../prefix/include && cd ../../
LDFLAGS="$LDFLAGS -l:libz.a"
fi
if [[ "$@" != *"-lmbedtls"* && "$@" != *"-lmbedcrypto"* ]]; then