aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-06-27 12:04:00 -0400
committerAdam Harrison <adamdharrison@gmail.com>2023-06-27 12:04:00 -0400
commit572d83c485369cae725b4995f1ffce3b2f9a905b (patch)
tree59b3c5e5991ac3271006098063c586a79e802f7f /build.sh
parent1c1de88d2603ebc137ab57218fcdd45935086946 (diff)
downloadlite-xl-plugin-manager-572d83c485369cae725b4995f1ffce3b2f9a905b.tar.gz
lite-xl-plugin-manager-572d83c485369cae725b4995f1ffce3b2f9a905b.zip
Fixed windows compile due to new libgit2 version.
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 e04999c..34f4d61 100755
--- a/build.sh
+++ b/build.sh
@@ -43,7 +43,7 @@ if [[ "$@" == *"-DLPM_STATIC"* ]]; then
fi
[[ $OSTYPE != 'msys'* && $CC != *'mingw'* && $CC != "emcc" ]] && CFLAGS="$CFLAGS -DLUA_USE_LINUX" && LDFLAGS="$LDFLAGS -ldl"
-[[ $OSTYPE == 'msys'* || $CC == *'mingw'* ]] && LDFLAGS="$LDFLAGS -lbcrypt -lws2_32 -lz -lwinhttp -lole32 -lcrypt32 -lrpcrt4"
+[[ $OSTYPE == 'msys'* || $CC == *'mingw'* ]] && LDFLAGS="$LDFLAGS -lbcrypt -lws2_32 -lz -lwinhttp -lole32 -lcrypt32 -lrpcrt4 -lsecur32"
[[ $OSTYPE == *'darwin'* ]] && LDFLAGS="$LDFLAGS -liconv -framework Security -framework Foundation"
[[ " $@" != *" -g"* && " $@" != *" -O"* ]] && CFLAGS="$CFLAGS -O3" && LDFLAGS="$LDFLAGS -s -flto"