|Subject:||Re: [bug-gnu-libiconv] Error cross-compiling to Android as shared library|
|Date:||Thu, 2 Jul 2020 20:20:25 +0200|
Not that I know of or have found anything about.
According to its change log, libtool gained Android support back in 2013.
However, your comment sent me on another web crawl specific to libtool and Android, and this comment helped me to fix the issue:
Changing LD to Android’s "ld" instead of clang allowed me to build libiconv as a shared library. clang worked fine as linker for everything else I’ve been building (I think it just forwards to ld), so I’m not sure why this fixes the issue here – maybe a bug in libtool?
In any case, thank you for your help!
Here’s the build script in case this is useful to anyone:
Env vars are specified here:
|[Prev in Thread]||Current Thread||[Next in Thread]|