Skip to content

Commit

Permalink
iconv does not support LIBICONV_PLUG flag on AIX
Browse files Browse the repository at this point in the history
  • Loading branch information
EGuesnet committed Jan 23, 2020
1 parent 870540a commit 5bd45f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libmariadb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,9 @@ ELSE()
IF(ICONV_INCLUDE_DIR)
INCLUDE_DIRECTORIES(BEFORE ${ICONV_INCLUDE_DIR})
ENDIF()
ADD_DEFINITIONS(-DLIBICONV_PLUG)
IF(NOT CMAKE_SYSTEM_NAME MATCHES AIX)
ADD_DEFINITIONS(-DLIBICONV_PLUG)
ENDIF()
ENDIF()

IF(ZLIB_FOUND AND WITH_EXTERNAL_ZLIB)
Expand Down

0 comments on commit 5bd45f5

Please sign in to comment.