Make MACOSX_DEPLOYMENT_TARGET configurable

Also increase the default target to 10.5, since Xcode 10 can no longer
target 10.3.
This commit is contained in:
Joshua Root
2019-05-21 07:42:32 +10:00
committed by Hisham Muhammad
parent 04ba8d686a
commit 58cf8c9449
2 changed files with 4 additions and 1 deletions

3
config
View File

@@ -14,6 +14,9 @@ LUA_INC += -I/usr/include/lua5.1
LIB_OPTION= -shared #for Linux
#LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
# Minimum runtime OS version on macOS
MACOSX_DEPLOYMENT_TARGET= 10.5
LIBNAME= $T.so.$V
# Compilation directives