aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-07-10 15:27:12 -0400
committerAdam Harrison <adamdharrison@gmail.com>2023-07-10 15:27:12 -0400
commit6579e42beca25f0a4ec63fb76373e0facfc28a12 (patch)
tree102f8ce5a8357b1399e5e9492c8dbe7a48ec78c7
parent8023dc0d878a0410778b6b02a4ad0bf3edfe9fc1 (diff)
downloadlite-xl-plugin-manager-6579e42beca25f0a4ec63fb76373e0facfc28a12.tar.gz
lite-xl-plugin-manager-6579e42beca25f0a4ec63fb76373e0facfc28a12.zip
Fixed typo.
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index fb1011f..be5e260 100755
--- a/build.sh
+++ b/build.sh
@@ -14,7 +14,7 @@ LDFLAGS="$LDFLAGS -lm -Llib/prefix/lib"
cmake --version >/dev/null 2>/dev/null || { echo "Please ensure that you have cmake installed." && exit -1; }
# Build supporting libraries, libz, libmbedtls, libmbedcrypto, libgit2, libzip, libmicrotar, liblua
-[[ " $@" != *" -g"* ]] && CMAKE_DEFAULT_FLAGS="$CMAKE_DEFUALT_FLAGS -DCMAKE_BUILD_TYPE=Release" || CMAKE_DEFUALT_FLAGS="$CMAKE_DEFUALT_FLAGS -DCMAKE_BUILD_TYPE=Debug"
+[[ " $@" != *" -g"* ]] && CMAKE_DEFAULT_FLAGS="$CMAKE_DEFAULT_FLAGS -DCMAKE_BUILD_TYPE=Release" || CMAKE_DEFUALT_FLAGS="$CMAKE_DEFAULT_FLAGS -DCMAKE_BUILD_TYPE=Debug"
CMAKE_DEFAULT_FLAGS=" $CMAKE_DEFAULT_FLAGS -DCMAKE_PREFIX_PATH=`pwd`/lib/prefix -DCMAKE_INSTALL_PREFIX=`pwd`/lib/prefix -DBUILD_SHARED_LIBS=OFF"
mkdir -p lib/prefix/include lib/prefix/lib
if [[ "$@" != *"-lz"* ]]; then