(Android) Fix Android build

This commit is contained in:
twinaphex 2015-08-29 17:06:39 +02:00
parent e00ea900ed
commit 31e093dadb
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := retroarch-jni
RARCH_DIR := ../../..
LOCAL_CFLAGS += -std=gnu99 -Wall -DHAVE_LOGGER -DRARCH_DUMMY_LOG -DHAVE_ZLIB -DHAVE_MMAP -DRARCH_INTERNAL
LOCAL_CFLAGS += -std=gnu99 -Wall -DRARCH_DUMMY_LOG -DHAVE_ZLIB -DHAVE_MMAP -DRARCH_INTERNAL
LOCAL_LDLIBS := -llog -lz
LOCAL_SRC_FILES := apk-extract/apk-extract.c $(RARCH_DIR)/libretro-common/file/file_extract.c $(RARCH_DIR)/libretro-common/file/file_path.c $(RARCH_DIR)/file_ops.c $(RARCH_DIR)/libretro-common/string/string_list.c $(RARCH_DIR)/libretro-common/compat/compat.c
@ -11,8 +11,8 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(RARCH_DIR)/libretro-common/include/
include $(BUILD_SHARED_LIBRARY)
HAVE_NEON := 1
HAVE_LOGGER := 1
HAVE_NEON := 1
HAVE_LOGGER := 0
include $(CLEAR_VARS)
ifeq ($(TARGET_ARCH),arm)

View File

@ -147,7 +147,7 @@ static int cb_generic_download(void *data, size_t len,
{
if (!zlib_parse_file(output_path, NULL, zlib_extract_core_callback,
(void*)dir_path))
RARCH_LOG(msg_hash_to_str(MSG_COULD_NOT_PROCESS_ZIP_FILE));
RARCH_LOG("%s\n", msg_hash_to_str(MSG_COULD_NOT_PROCESS_ZIP_FILE));
if (path_file_exists(output_path))
remove(output_path);