aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2024-10-14 18:11:22 -0400
committerAdam Harrison <adamdharrison@gmail.com>2024-10-14 18:11:22 -0400
commit0eb842217943e7b9ecf781766e2b2503d29c3853 (patch)
treeafe94595d8faa81d7bf91f5aebcf122a30d749ac
parent14bef796091c95a39043a275d4635baa7632ee8f (diff)
downloadlite-xl-plugin-manager-0eb842217943e7b9ecf781766e2b2503d29c3853.tar.gz
lite-xl-plugin-manager-0eb842217943e7b9ecf781766e2b2503d29c3853.zip
Test?
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 1db0b34..a2ef537 100755
--- a/build.sh
+++ b/build.sh
@@ -37,7 +37,7 @@ if [[ "$@" != *"-lgit2"* ]]; then
fi
if [[ "$@" != *"-lzip"* ]]; then
[ ! -e "lib/libzip/build" ] && { cd lib/libzip && mkdir build && cd build && CFLAGS="$COMPILE_FLAGS -Wno-incompatible-pointer-types" cmake .. -G "Unix Makefiles" $CMAKE_DEFAULT_FLAGS -DBUILD_TOOLS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_DOC=OFF -DENABLE_COMMONCRYPTO=OFF -DENABLE_GNUTLS=OFF -DENABLE_OPENSSL=OFF -DENABLE_BZIP2=OFF -DENABLE_LZMA=ON -DENABLE_ZSTD=OFF && $MAKE -j $JOBS && $MAKE install && cd ../../../ || exit -1; }
- LINK_FLAGS="$LINK_FLAGS -lzip"
+ LINK_FLAGS="$LINK_FLAGS -lzip -llzma"
fi
[[ "$@" != *"-lmicrotar"* ]] && COMPILE_FLAGS="$COMPILE_FLAGS -Ilib/microtar/src" && SRCS="$SRCS lib/microtar/src/microtar.c"
[[ "$@" != *"-llua"* ]] && COMPILE_FLAGS="$COMPILE_FLAGS -Ilib/lua -DMAKE_LIB=1" && SRCS="$SRCS lib/lua/onelua.c"