diff --git a/doc/install.html b/doc/install.html index 405f443a..d6e099ed 100644 --- a/doc/install.html +++ b/doc/install.html @@ -212,8 +212,8 @@ You can add an extra prefix to the search paths by appending the make PREFIX=/home/myself/lj2

-Note for OSX: if the MACOSX_DEPLOYMENT_TARGET environment -variable is not set, then it's forced to 10.4. +Note for OSX: you must set the MACOSX_DEPLOYMENT_TARGET +environment variable to a value supported by your toolchain.

Installing LuaJIT

diff --git a/src/Makefile b/src/Makefile index 2e501069..cde4b9f7 100644 --- a/src/Makefile +++ b/src/Makefile @@ -304,7 +304,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 + $(error missing: export MACOSX_DEPLOYMENT_TARGET=XX.YY) endif TARGET_STRIP+= -x TARGET_XSHLDFLAGS= -dynamiclib -single_module -undefined dynamic_lookup -fPIC