Merge "Fix build." am: 9d72d4175b
am: 2ab24d36b9
* commit '2ab24d36b91e28416a85e2c56442c22c984903ea':
Fix build.
diff --git a/applypatch/Android.mk b/applypatch/Android.mk
index 0a04c06..bc2e69e 100644
--- a/applypatch/Android.mk
+++ b/applypatch/Android.mk
@@ -36,6 +36,7 @@
include $(BUILD_STATIC_LIBRARY)
+ifeq ($(HOST_OS),linux)
include $(CLEAR_VARS)
LOCAL_CLANG := true
@@ -46,6 +47,7 @@
LOCAL_STATIC_LIBRARIES += libmincrypt libbz libz
include $(BUILD_HOST_STATIC_LIBRARY)
+endif # HOST_OS == linux
include $(CLEAR_VARS)