aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2022-11-29 19:27:27 -0500
committerAdam Harrison <adamdharrison@gmail.com>2022-11-29 19:27:27 -0500
commit31971b85c256158c731149c4ae9cd40dc086f908 (patch)
tree7083e149b0cc974ef132807f8b04d65917d4cc10
parent88552d7fa286216376b5978f9c03f864e5067dab (diff)
downloadlite-xl-plugin-manager-31971b85c256158c731149c4ae9cd40dc086f908.tar.gz
lite-xl-plugin-manager-31971b85c256158c731149c4ae9cd40dc086f908.zip
Added in inconv.
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 762a3e8..9abe8fb 100755
--- a/build.sh
+++ b/build.sh
@@ -44,7 +44,7 @@ fi
xxd -i src/lpm.luac > src/lpm.lua.c
[[ $OSTYPE != 'msys'* && $CC != *'mingw'* && $CC != "emcc" ]] && LDFLAGS=" $LDFLAGS -ldl -pthread"
-[[ $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 -liconv"
[[ " $@" != *" -g"* && " $@" != *" -O"* ]] && CFLAGS="$CFLAGS -O3" && LDFLAGS="$LDFLAGS -s"
$CC $CFLAGS $SRCS $@ -o $BIN $LDFLAGS