Fix bug with the HOST_AR.
Change-Id: I28ab86d3b6e7cbd4391e2640cf8e2be269b03e76
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user