diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2022-12-03 15:08:37 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2022-12-03 15:08:37 -0500 |
commit | e486ece910368c0e5849517b7dafefabd22f2209 (patch) | |
tree | 6c2b3505c4e5b26eeb22bd5b5b78642df4c67e89 /build.sh | |
parent | 9afefc5f58f8d00926aa60a56a5672b739fa30b4 (diff) | |
download | lite-xl-plugin-manager-e486ece910368c0e5849517b7dafefabd22f2209.tar.gz lite-xl-plugin-manager-e486ece910368c0e5849517b7dafefabd22f2209.zip |
Better error handling.
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |