Skip to content

Commit

Permalink
recovery: Include libc when building libminiunz_static
Browse files Browse the repository at this point in the history
Needed for the mkdir function

Change-Id: Ia49e8335c011fc656679d1c5cc733d455a8ccbac
  • Loading branch information
Rashed97 authored and Steve Kondik committed Sep 4, 2016
1 parent ccdc92b commit 9cccf8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,12 @@ include $(CLEAR_VARS)
LOCAL_MODULE := libminiunz_static
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := -Dmain=miniunz_main -D__ANDROID__ -DIOAPI_NO_64
LOCAL_C_INCLUDES := external/zlib
LOCAL_C_INCLUDES := external/zlib bionic/libc/include
LOCAL_SRC_FILES := \
../../external/zlib/src/contrib/minizip/ioapi.c \
../../external/zlib/src/contrib/minizip/miniunz.c \
../../external/zlib/src/contrib/minizip/unzip.c
LOCAL_STATIC_LIBRARIES += libc
include $(BUILD_STATIC_LIBRARY)

# Reboot static library
Expand Down

0 comments on commit 9cccf8f

Please sign in to comment.