From 9ce06f11d69f5154843c234fe0624f9e70d39359 Mon Sep 17 00:00:00 2001 From: Al Sutton Date: Wed, 21 Dec 2011 13:12:05 -0800 Subject: [PATCH] Don't run ranlib on MacOS 10.7 Change-Id: I74f4623e6044dd804669aaa70c6e410fa8988d75 --- core/combo/HOST_darwin-x86.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/combo/HOST_darwin-x86.mk b/core/combo/HOST_darwin-x86.mk index 544a29e5e..3682766e3 100644 --- a/core/combo/HOST_darwin-x86.mk +++ b/core/combo/HOST_darwin-x86.mk @@ -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 -- 2.11.0