summaryrefslogtreecommitdiffstats
path: root/dexdump/Android.mk
diff options
context:
space:
mode:
authorRaphael <raphael@google.com>2010-04-13 15:19:21 -0700
committerRaphael <raphael@google.com>2010-04-14 20:03:54 -0700
commitd9b87a918dfe98793faa08cb59012f652b4b8561 (patch)
tree3f33baca385a440a2cb528f068277ff1394706ed /dexdump/Android.mk
parentf0c514ce8c64a441375af4a7e364282a3d803c45 (diff)
downloadandroid_dalvik-d9b87a918dfe98793faa08cb59012f652b4b8561.tar.gz
android_dalvik-d9b87a918dfe98793faa08cb59012f652b4b8561.tar.bz2
android_dalvik-d9b87a918dfe98793faa08cb59012f652b4b8561.zip
Fix dexdump to build in Windows SDK under Linux
Change-Id: I0e57c81dcfc53d7065d420129d75ac32cda040e2
Diffstat (limited to 'dexdump/Android.mk')
-rw-r--r--dexdump/Android.mk6
1 files changed, 6 insertions, 0 deletions
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