From 8b0db11ebaabd0f4d254a8310ba733f26485b618 Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Thu, 28 Jan 2016 21:56:06 -0800 Subject: Fix build. Disable libimgpatch for non-Linux host. Change-Id: Ib3615204b76564c691ddafaa29e59fef334d9d36 --- applypatch/Android.mk | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3