Repository navigation
Fix loading shared library on Android - #6
Conversation
Poppler's pkg-config metadata omits iconv, leaving GNU iconv symbols unresolved in libvfs.pdf.so. Add Iconv::Iconv for static Android builds while preserving the existing pkg-config link flags.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|

Description
Fix
vfs.pdffailing to load on Android due to unresolved GNU iconv symbols.Iconv::Iconvwhen using static Poppler on Android.libandroid.Motivation and context
On Android ARM64, Kodi fails to initialize
vfs.pdfwith:Poppler's generated pkg-config metadata omits its iconv dependency because it references
ICONV_LIBRARIESinstead ofIconv_LIBRARIES.The missing static library leaves
libiconv,libiconv_open, andlibiconv_closeunresolved at runtime.This change explicitly links the missing dependency without altering the existing Poppler linker flags.
How has this been tested?
git diff --checkpassed.Types of change
Summary by CodeRabbit