diff options
author | Adam <adamdharrison@gmail.com> | 2022-09-18 18:42:30 -0400 |
---|---|---|
committer | Adam <adamdharrison@gmail.com> | 2022-09-18 18:42:30 -0400 |
commit | 3c17efb0fbc6d26d3a59790ba26fab6756688d41 (patch) | |
tree | e1fad7fb9563e09267cd3e6bbe41499a4121c640 /build.sh | |
parent | a1feb9696cbbffc3ba061dcffc5a0ada9891fb22 (diff) | |
download | lite-xl-plugin-manager-3c17efb0fbc6d26d3a59790ba26fab6756688d41.tar.gz lite-xl-plugin-manager-3c17efb0fbc6d26d3a59790ba26fab6756688d41.zip |
Fixed segfault.
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,5 +37,5 @@ xxd -i lpm.lua > lpm.lua.c [[ $OSTYPE != 'msys'* && $CC != *'mingw'* && $CC != "emcc" ]] && LDFLAGS=" $LDFLAGS -ldl -pthread" [[ $OSTYPE == 'msys'* || $CC == *'mingw'* ]] && LDFLAGS="$LDFLAGS -lws2_32 -lz -lwinhttp -lole32 -lcrypt32 -lrpcrt4" -[[ "$@" != *" -g "* || "$@" != *" -O"* ]] && CFLAGS="$CFLAGS -O3" && LDFLAGS="$LDFLAGS -s" +[[ " $@" != *" -g"* && " $@" != *" -O"* ]] && CFLAGS="$CFLAGS -O3" && LDFLAGS="$LDFLAGS -s" $CC $CFLAGS $SRCS $@ -o $BIN $LDFLAGS |