OSDN Git Service

Fix bug with the HOST_AR.
authorYing Wang <wangying@google.com>
Fri, 24 Feb 2012 00:27:43 +0000 (16:27 -0800)
committerYing Wang <wangying@google.com>
Fri, 24 Feb 2012 00:27:43 +0000 (16:27 -0800)
Change-Id: I28ab86d3b6e7cbd4391e2640cf8e2be269b03e76

core/combo/HOST_darwin-x86.mk

index 3a0a9ee..193ec16 100644 (file)
@@ -68,8 +68,8 @@ define _darwin-extract-and-include-single-whole-static-lib
 @echo "preparing StaticLib: $(PRIVATE_MODULE) [including $(1)]"
 $(hide) ldir=$(PRIVATE_INTERMEDIATES_DIR)/WHOLE/$(basename $(notdir $(1)))_objs;\
     mkdir -p $$ldir; \
-    for f in `$(TARGET_AR) t $(1)`; do \
-        $(TARGET_AR) p $(1) $$f > $$ldir/$$f; \
+    for f in `$(HOST_AR) t $(1)`; do \
+        $(HOST_AR) p $(1) $$f > $$ldir/$$f; \
     done ;
 
 endef