From 149960eac5348ae46b5b56643d50cf69d9ac8a1c Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 20 Jun 2023 09:14:26 -0400 Subject: Revert "Set variable name with xxd instead of relying on path" --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.sh') 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" -- cgit v1.2.3