mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-03 20:38:59 +00:00
GNU libiconv uses symbol "libiconv_open" instead of "iconv_open".
(closes issue #19344) Reported by: rohanl Patches: iconv-check.patch uploaded by rohanl (license 1284) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@320573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1120,6 +1120,8 @@ if test "${USE_GSM}" != "no"; then
|
||||
fi
|
||||
|
||||
AST_EXT_LIB_CHECK([ICONV], [iconv], [iconv_open], [iconv.h])
|
||||
# GNU libiconv #define's iconv_open to libiconv_open, so we need to search for that symbol
|
||||
AST_EXT_LIB_CHECK([ICONV], [iconv], [libiconv_open], [iconv.h])
|
||||
# Some versions of Linux package iconv in glibc
|
||||
AST_EXT_LIB_CHECK([ICONV], [c], [iconv_close], [iconv.h])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user