aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorAdam <adamdharrison@gmail.com>2023-06-20 09:14:53 -0400
committerGitHub <noreply@github.com>2023-06-20 09:14:53 -0400
commit9a1e637e379b59aaa29fe48c73783667981ad2fd (patch)
tree64dad26552fe39c90c94b79b9b3c1fd95d42f1e7 /build.sh
parente655a6add9af02a0b40e065fc62127b92b2638f1 (diff)
parent149960eac5348ae46b5b56643d50cf69d9ac8a1c (diff)
downloadlite-xl-plugin-manager-9a1e637e379b59aaa29fe48c73783667981ad2fd.tar.gz
lite-xl-plugin-manager-9a1e637e379b59aaa29fe48c73783667981ad2fd.zip
Merge pull request #27 from lite-xl/revert-25-PR/xxd_set_name
Revert "Set variable name with xxd instead of relying on path"
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 2dbc424..94e514e 100755
--- a/build.sh
+++ b/build.sh
@@ -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 -n lpm_luac -i src/lpm.luac > src/lpm.lua.c
+ xxd -i src/lpm.luac > src/lpm.lua.c
fi
[[ $OSTYPE != 'msys'* && $CC != *'mingw'* && $CC != "emcc" ]] && CFLAGS="$CFLAGS -DLUA_USE_LINUX" && LDFLAGS="$LDFLAGS -ldl"