Update osx target

This commit is contained in:
twinaphex 2020-12-09 08:20:42 +01:00
parent e6da5ee86c
commit 2cdd1fafb6
1 changed files with 4 additions and 0 deletions

View File

@ -138,7 +138,11 @@ else ifeq ($(platform), osx)
endif
OSXVER = `sw_vers -productVersion | cut -d. -f 2`
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
ifeq ($(OSX_LT_MAVERICKS),"YES")
fpic += -mmacosx-version-min=10.2
else
fpic += -mmacosx-version-min=10.7 -stdlib=libc++
endif
SHARED := -dynamiclib
TILED_RENDERING=1