From fc12fb2c9ce87ba88321000507735669374a0173 Mon Sep 17 00:00:00 2001 From: Fan Yang Date: Fri, 2 Feb 2024 15:04:48 +0800 Subject: [PATCH] update build script --- golua/lua/buildlua.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golua/lua/buildlua.sh b/golua/lua/buildlua.sh index dc0a124..4864c69 100755 --- a/golua/lua/buildlua.sh +++ b/golua/lua/buildlua.sh @@ -44,7 +44,7 @@ cd luajit if [ "$OS" == "Darwin" ]; then env MACOSX_DEPLOYMENT_TARGET=12.0 make clean env MACOSX_DEPLOYMENT_TARGET=12.0 CFLAGS="-arch x86_64" LDFLAGS="-arch x86_64" make -j $CoreCount BUILDMODE=static - arch=`uname -m` + arch=$(uname -m) if [ "$arch" == "arm64" ]; then mv src/libluajit.a ./libluajit-amd64.a env MACOSX_DEPLOYMENT_TARGET=12.0 make clean