am 4c70244c: Make zipalign build for the Win SDK under Linux.

Merge commit '4c70244cb1af8b2babd7750c2bd19aeb722e19e0' into froyo-plus-aosp

* commit '4c70244cb1af8b2babd7750c2bd19aeb722e19e0':
  Make zipalign build for the Win SDK under Linux.
This commit is contained in:
Raphael 2010-04-23 17:14:58 -07:00 committed by Android Git Automerger
commit 575cf4dc5e
1 changed files with 4 additions and 7 deletions

View File

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