Skip to content

Commit

Permalink
update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
missdeer committed Feb 2, 2024
1 parent 4aad878 commit fc12fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion golua/lua/buildlua.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fc12fb2

Please sign in to comment.