diff options
author | Adam <adamdharrison@gmail.com> | 2023-06-20 09:08:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-20 09:08:44 -0400 |
commit | e655a6add9af02a0b40e065fc62127b92b2638f1 (patch) | |
tree | 0a04aa58c852a08e765094c8ae3ebe8b287e6085 /build.sh | |
parent | dade9f4849438cf1a62db6ac273934872083c233 (diff) | |
parent | 406b505a07c39095abc8c0c1dcfd989712930f7d (diff) | |
download | lite-xl-plugin-manager-e655a6add9af02a0b40e065fc62127b92b2638f1.tar.gz lite-xl-plugin-manager-e655a6add9af02a0b40e065fc62127b92b2638f1.zip |
Merge pull request #25 from Jan200101/PR/xxd_set_name
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" |