diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2023-06-20 12:58:47 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2023-06-20 12:58:47 +0200 |
commit | 406b505a07c39095abc8c0c1dcfd989712930f7d (patch) | |
tree | 0a04aa58c852a08e765094c8ae3ebe8b287e6085 /build.sh | |
parent | dade9f4849438cf1a62db6ac273934872083c233 (diff) | |
download | lite-xl-plugin-manager-406b505a07c39095abc8c0c1dcfd989712930f7d.tar.gz lite-xl-plugin-manager-406b505a07c39095abc8c0c1dcfd989712930f7d.zip |
Set variable name with xxd instead of relying on path
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -40,7 +40,7 @@ fi 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 + xxd -n lpm_luac -i src/lpm.luac > src/lpm.lua.c fi [[ $OSTYPE != 'msys'* && $CC != *'mingw'* && $CC != "emcc" ]] && CFLAGS="$CFLAGS -DLUA_USE_LINUX" && LDFLAGS="$LDFLAGS -ldl" |