Merge "Fix build."
diff --git a/applypatch/Android.mk b/applypatch/Android.mk
index 3cb8beb..036b6f5 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)