diff options
author | Adam <adamdharrison@gmail.com> | 2022-10-08 19:55:28 -0400 |
---|---|---|
committer | Adam <adamdharrison@gmail.com> | 2022-10-08 19:55:28 -0400 |
commit | bbc81d71b895cb2e7acc7837b073ae37d7780df3 (patch) | |
tree | eb8a6f4945943ef4ef62a2e77b482c401af1d9e9 /build.sh | |
parent | 3dc626084b0ade9c635a6c0219f4b3995cbbb3b6 (diff) | |
download | lite-xl-plugin-manager-bbc81d71b895cb2e7acc7837b073ae37d7780df3.tar.gz lite-xl-plugin-manager-bbc81d71b895cb2e7acc7837b073ae37d7780df3.zip |
Fixed clean.
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -8,11 +8,10 @@ SRCS="*.c" LDFLAGS="$LDFLAGS -lm -pthread -static-libgcc" -[[ "$@" == "clean" ]] && rm -rf lib/libgit2/build lib/zlib/build lib/openssl/build lib/curl/build lib/libarchive/build-tmp lib/libzma/build lib/prefix $BIN *.exe && exit 0 +[[ "$@" == "clean" ]] && rm -rf lib/libgit2/build lib/zlib/build lib/openssl/build lib/curl/build lib/libarchive/build-tmp lib/liblzma/build lib/prefix $BIN *.exe && exit 0 [[ $OSTYPE == 'msys'* || $CC == *'mingw'* ]] && SSL_CONFIGURE="mingw64" -# Build supporting libraries, libgit2, libz, libssl (with libcrypto), libpcre -# [[ "$@" != *"-lz"* ]] && CFLAGS="$CFLAGS -Ilib/zlib" && SRCS="$SRCS lib/zlib/*.c" +# Build supporting libraries, libgit2, libz, libssl (with libcrypto) 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" ] && cd lib/zlib && mkdir build && cd build && ../configure --prefix=`pwd`/../../prefix && $MAKE -j $JOBS && $MAKE install && cd ../../../ |