From d9b87a918dfe98793faa08cb59012f652b4b8561 Mon Sep 17 00:00:00 2001 From: Raphael Date: Tue, 13 Apr 2010 15:19:21 -0700 Subject: Fix dexdump to build in Windows SDK under Linux Change-Id: I0e57c81dcfc53d7065d420129d75ac32cda040e2 --- dexdump/Android.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'dexdump/Android.mk') diff --git a/dexdump/Android.mk b/dexdump/Android.mk index 910763843..c8720d827 100644 --- a/dexdump/Android.mk +++ b/dexdump/Android.mk @@ -63,7 +63,13 @@ LOCAL_SRC_FILES := $(dexdump_src_files) LOCAL_C_INCLUDES := $(dexdump_c_includes) LOCAL_SHARED_LIBRARIES := $(dexdump_shared_libraries) LOCAL_STATIC_LIBRARIES := $(dexdump_static_libraries) liblog + +ifneq ($(strip $(USE_MINGW)),) +LOCAL_STATIC_LIBRARIES += libz +else LOCAL_LDLIBS += -lpthread -lz +endif + include $(BUILD_HOST_EXECUTABLE) endif # !TARGET_SIMULATOR -- cgit v1.2.3