Skip to content

Commit 408776f

Browse files
committed
Always use our copy of libz
Instead of hoping that the host libz is compatible with our build time stubs. Test: m etc1tool Change-Id: I4fe25cd0d265895baf8db1f182f96b171e0c84b6
1 parent 85578a8 commit 408776f

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

tools/etc1tool/Android.mk

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,8 @@ LOCAL_SRC_FILES := etc1tool.cpp
1212
LOCAL_STATIC_LIBRARIES := \
1313
libexpat \
1414
libpng \
15-
libETC1
16-
17-
# Statically link libz for MinGW (Win SDK under Linux),
18-
# and dynamically link for all others.
19-
LOCAL_STATIC_LIBRARIES_windows := libz
20-
LOCAL_LDLIBS_darwin := -lz
21-
LOCAL_LDLIBS_linux := -lrt -lz
15+
libETC1 \
16+
libz
2217

2318
LOCAL_MODULE := etc1tool
2419
LOCAL_MODULE_HOST_OS := darwin linux windows

0 commit comments

Comments
 (0)