Skip to content

Commit

Permalink
Cherry-pick fix for LuaJIT/LuaJIT#484 to fix builds on MacOS Mojave.
Browse files Browse the repository at this point in the history
Bump minimum MACOSX_DEPLOYMENT_TARGET to 10.6

The macOS SDK for 10.4 has been deprecated as of 10.14, bump to 10.6 so that LuaJIT continues to build out of the box.

Fixes LuaJIT#484.
  • Loading branch information
akopytov committed Jul 14, 2019
1 parent 39ebaba commit a65bc9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/luajit/luajit/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ ifeq (,$(shell $(TARGET_CC) -o /dev/null -c -x c /dev/null -fno-stack-protector
endif
ifeq (Darwin,$(TARGET_SYS))
ifeq (,$(MACOSX_DEPLOYMENT_TARGET))
export MACOSX_DEPLOYMENT_TARGET=10.4
export MACOSX_DEPLOYMENT_TARGET=10.6
endif
TARGET_STRIP+= -x
TARGET_AR+= 2>/dev/null
Expand Down

0 comments on commit a65bc9a

Please sign in to comment.