Make zipalign build for the Win SDK under Linux.

(Merge master Change Ibd667437)
This commit is contained in:
Raphael
2010-04-14 12:19:12 -07:00
parent d72731d213
commit 4c70244cb1

View File

@@ -18,17 +18,14 @@ LOCAL_STATIC_LIBRARIES := \
libutils \ libutils \
libcutils libcutils
LOCAL_LDLIBS := -lz
ifeq ($(HOST_OS),linux) ifeq ($(HOST_OS),linux)
LOCAL_LDLIBS += -lrt LOCAL_LDLIBS += -lrt
endif endif
# dunno if we need this, but some of the other tools include it ifneq ($(strip $(USE_MINGW)),)
ifeq ($(HOST_OS),windows) LOCAL_STATIC_LIBRARIES += libz
ifeq ($(strip $(USE_CYGWIN),),) else
LOCAL_LDLIBS += -lws2_32 LOCAL_LDLIBS += -lz
endif
endif endif
LOCAL_MODULE := zipalign LOCAL_MODULE := zipalign