diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2022-12-04 16:50:53 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2022-12-04 16:50:53 -0500 |
commit | 99fff188e86e8f45b56fefe301f7ceba365bd6ad (patch) | |
tree | 80d7284fc02173a166f0cbaf128bfa02950b753a /build.sh | |
parent | 50ceefd226c785bd7226e66ed42c7ea499fb0480 (diff) | |
download | lite-xl-plugin-manager-99fff188e86e8f45b56fefe301f7ceba365bd6ad.tar.gz lite-xl-plugin-manager-99fff188e86e8f45b56fefe301f7ceba365bd6ad.zip |
Moved things over to LPM_STATIC, rather than LPM_LIVE.
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ fi [[ "$@" != *"-llua"* ]] && CFLAGS="$CFLAGS -Ilib/lua -DMAKE_LIB=1" && SRCS="$SRCS lib/lua/onelua.c" # Build the pre-packaged lua file into the executbale. -if [[ "$@" != *"-DLPM_LIVE" ]]; then +if [[ "$@" == *"-DLPM_STATIC"* ]]; then [[ ! -e "lua.exe" ]] && gcc -Ilib/lua -o lua.exe lib/lua/onelua.c -lm ./lua.exe -e 'io.open("src/lpm.luac", "wb"):write(string.dump(assert(loadfile("src/lpm.lua"))))' xxd -i src/lpm.luac > src/lpm.lua.c |