(OSX) Lower requirements to 10.1

This commit is contained in:
twinaphex 2015-08-01 23:19:59 +02:00
parent 5e55f00fd1
commit 317f395b49
1 changed files with 1 additions and 3 deletions

View File

@ -100,9 +100,7 @@ else ifeq ($(platform), osx)
endif endif
OSXVER = `sw_vers -productVersion | cut -d. -f 2` OSXVER = `sw_vers -productVersion | cut -d. -f 2`
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"` OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
ifeq ($(OSX_LT_MAVERICKS),"YES") fpic += -mmacosx-version-min=10.1
fpic += -mmacosx-version-min=10.5
endif
SHARED := -dynamiclib SHARED := -dynamiclib
ifeq ($(HAVE_DYNAREC),1) ifeq ($(HAVE_DYNAREC),1)
HAVE_MMAP = 1 HAVE_MMAP = 1