summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-01-29 07:01:32 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-01-29 07:01:32 +0100
commit9d72d4175b06a70c64c8867ff65b3c4c2181c9a9 (patch)
treeed17176e19ec8c67c5e57310f54e9f1616375948
parentMerge "applypatch: Compile libimgpatch for target and host." (diff)
parentFix build. (diff)
downloadandroid_bootable_recovery-9d72d4175b06a70c64c8867ff65b3c4c2181c9a9.tar
android_bootable_recovery-9d72d4175b06a70c64c8867ff65b3c4c2181c9a9.tar.gz
android_bootable_recovery-9d72d4175b06a70c64c8867ff65b3c4c2181c9a9.tar.bz2
android_bootable_recovery-9d72d4175b06a70c64c8867ff65b3c4c2181c9a9.tar.lz
android_bootable_recovery-9d72d4175b06a70c64c8867ff65b3c4c2181c9a9.tar.xz
android_bootable_recovery-9d72d4175b06a70c64c8867ff65b3c4c2181c9a9.tar.zst
android_bootable_recovery-9d72d4175b06a70c64c8867ff65b3c4c2181c9a9.zip
-rw-r--r--applypatch/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/applypatch/Android.mk b/applypatch/Android.mk
index 3cb8bebde..036b6f50d 100644
--- a/applypatch/Android.mk
+++ b/applypatch/Android.mk
@@ -36,6 +36,7 @@ LOCAL_STATIC_LIBRARIES += libmincrypt libbz libz
include $(BUILD_STATIC_LIBRARY)
+ifeq ($(HOST_OS),linux)
include $(CLEAR_VARS)
LOCAL_CLANG := true
@@ -46,6 +47,7 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
LOCAL_STATIC_LIBRARIES += libmincrypt libbz libz
include $(BUILD_HOST_STATIC_LIBRARY)
+endif # HOST_OS == linux
include $(CLEAR_VARS)