OSDN Git Service

Ensure the version of 'awk' detected by host-setup.sh is used during the build
authorDavid 'Digit' Turner <digit@google.com>
Thu, 1 Oct 2009 23:44:54 +0000 (16:44 -0700)
committerDavid 'Digit' Turner <digit@google.com>
Fri, 2 Oct 2009 04:27:19 +0000 (21:27 -0700)
build/core/add-application.mk
docs/CHANGES.TXT

index bec8d5e..42abae3 100644 (file)
@@ -61,7 +61,7 @@ APP_PLATFORM := $(strip $(APP_PLATFORM))
 ifndef APP_PLATFORM
     _local_props := $(strip $(wildcard $(APP_PROJECT_PATH)/default.properties))
     ifdef _local_props
-        APP_PLATFORM := $(strip $(shell awk -f $(BUILD_SYSTEM)/extract-platform.awk < $(_local_props)))
+        APP_PLATFORM := $(strip $(shell $(HOST_AWK) -f $(BUILD_SYSTEM)/extract-platform.awk < $(_local_props)))
         $(call ndk_log,  Found APP_PLATFORM=$(APP_PLATFORM) in $(_local_props))
     else
         APP_PLATFORM := android-3
index 94ac7bc..56781b5 100644 (file)
@@ -10,6 +10,8 @@ IMPORTANT BUG FIXES:
 - Make target shared libraries portable to systems that don't use the exact same
   toolchain (GCC 4.2.1) .
 
+- Actually use the awk version detected by host-setup.sh during the build.
+
 -------------------------------------------------------------------------------
 android-ndk-1.6_r1