Skip to content

Commit

Permalink
Only use Mac-specific LuaJIT linking for 2.0 (systemed#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
systemed authored May 8, 2024
1 parent 1c0638f commit 9e6f7d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ ifeq ($(LUA_CMD),luajit)
LUA_CFLAGS := ${LUA_CFLAGS} -DLUAJIT
ifneq ($(OS),Windows_NT)
ifeq ($(shell uname -s), Darwin)
LDFLAGS := -pagezero_size 10000 -image_base 100000000
$(info - with MacOS LuaJIT linking)
ifeq ($(LUA_JITV),2.0)
LDFLAGS := -pagezero_size 10000 -image_base 100000000
$(info - with MacOS LuaJIT linking)
endif
endif
endif
endif
Expand Down

0 comments on commit 9e6f7d5

Please sign in to comment.