원본: https://github.com/langresser/libiconv-1.14-android


위의 링크에서 다운받은 소스 파일입니다.

libiconv-1.14-android-master.zip



그리고, 수정한 Android.mk 내용입니다.  그냥은 안되더라고요 ㅡ.ㅡa


LOCAL_PATH := $(call my-dir)


include $(CLEAR_VARS)


LOCAL_MODULE := iconv


LOCAL_CFLAGS := \

  -Wno-multichar \

  -DANDROID \

  -DLIBDIR="c" \

  -DBUILDING_LIBICONV \

  -DIN_LIBRARY


LOCAL_SRC_FILES := \

  libiconv-1.14/libcharset/lib/localcharset.c \

  libiconv-1.14/lib/iconv.c \

  libiconv-1.14/lib/relocatable.c


LOCAL_C_INCLUDES += \

  $(LOCAL_PATH)/libiconv-1.14/include \

  $(LOCAL_PATH)/libiconv-1.14/libcharset \

  $(LOCAL_PATH)/libiconv-1.14/lib \

  $(LOCAL_PATH)/libiconv-1.14/libcharset/include \

  $(LOCAL_PATH)/libiconv-1.14/srclib

 

LOCAL_EXPORT_C_INCLUDES       := $(LOCAL_PATH)/libiconv-1.14/include


include $(BUILD_SHARED_LIBRARY)


'오픈소스 연구' 카테고리의 다른 글

libiconv for Android  (0) 2013.12.26
libjpeg-turbo for Android  (0) 2013.12.05

Posted by 류종택