aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2022-11-29 23:32:10 -0500
committerAdam Harrison <adamdharrison@gmail.com>2022-11-29 23:32:10 -0500
commite038c8cc6818dab3f8ccd4d78ae8797d591cc13f (patch)
treee065f07034c112edd1cdf4dd814259f773cd8c83 /build.sh
parent2516b4c8ba540df06d6d325872c860bb705a387b (diff)
downloadlite-xl-plugin-manager-e038c8cc6818dab3f8ccd4d78ae8797d591cc13f.tar.gz
lite-xl-plugin-manager-e038c8cc6818dab3f8ccd4d78ae8797d591cc13f.zip
Added in preprocessor guard.
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 31b5dce..9bdd417 100755
--- a/build.sh
+++ b/build.sh
@@ -9,7 +9,7 @@ SRCS="src/*.c"
CFLAGS="$CFLAGS -Ilib/prefix/include"
LDFLAGS="$LDFLAGS -lm -pthread -static-libgcc -Llib/prefix/lib"
-[[ "$@" == "clean" ]] && rm -rf lib/libgit2/build lib/zlib/build lib/libtar/build lib/mbedtls-2.27.0/build lib/libarchive/build-tmp lib/libzip/build lib/prefix lua $BIN *.exe src/lpm.luac src/lpm.lua.c && exit 0
+[[ "$@" == "clean" ]] && rm -rf lib/libgit2/build lib/zlib/build lib/libzip/build lib/mbedtls-2.27.0/build lib/prefix lua $BIN *.exe src/lpm.luac src/lpm.lua.c && exit 0
# Build supporting libraries, libz, libmbedtls, libmbedcrypto, libgit2, liblzma, libarchive, liblua
CMAKE_DEFAULT_FLAGS=" $CMAKE_DEFAULT_FLAGS -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=`pwd`/lib/prefix -DCMAKE_INSTALL_PREFIX=`pwd`/lib/prefix -DBUILD_SHARED_LIBS=OFF"