[Android] Add in a static libiconv library so non English games don't crash Dolphin Mobile.

This commit is contained in:
Ryan Houdek
2013-08-29 04:43:31 -05:00
parent c5a886100c
commit 160d72a9ae
247 changed files with 108640 additions and 6 deletions
+9
View File
@@ -649,6 +649,15 @@ else()
endif()
endif()
if (NOT ANDROID)
check_lib(ICONV ICONV iconv.h)
endif()
if (NOT ICONV_FOUND)
message("Using static iconv from Externals")
include_directories(Externals/libiconv-1.14/include)
add_subdirectory(Externals/libiconv-1.14)
endif()
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT ANDROID)
find_library(CL OpenCL)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-weak_framework,OpenCL")