Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4c70244c authored by Raphael's avatar Raphael
Browse files

Make zipalign build for the Win SDK under Linux.

(Merge master Change Ibd667437)
parent d72731d2
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
@@ -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