Make zipalign build for the Win SDK under Linux.
(Merge master Change Ibd667437)
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user