Don't run ranlib on MacOS 10.7

Change-Id: I74f4623e6044dd804669aaa70c6e410fa8988d75
This commit is contained in:
Al Sutton 2011-12-21 13:12:05 -08:00 committed by Jean-Baptiste Queru
parent 60fe963c63
commit 9ce06f11d6
1 changed files with 5 additions and 1 deletions

View File

@ -53,7 +53,11 @@ HOST_JNILIB_SUFFIX := .jnilib
HOST_GLOBAL_CFLAGS += \
-include $(call select-android-config-h,darwin-x86)
HOST_RUN_RANLIB_AFTER_COPYING := true
ifneq ($(filter 10.7.%, $(build_mac_version)),)
HOST_RUN_RANLIB_AFTER_COPYING := false
else
HOST_RUN_RANLIB_AFTER_COPYING := true
endif
HOST_GLOBAL_ARFLAGS := cqs
HOST_CUSTOM_LD_COMMAND := true