Kodi Community Forum

Full Version: Statically-linked Kodi woes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So, because I am deploying Kodi on a device with a *tiny* root partition (specifically a 2GB microsd card) I have been building a statically linked executable and then stripping it, producing a small kodi.bin binary which isn't dynamically linked to anything (which frees me to remove its dependencies from the filesystem). This worked fine in Kodi 15.2-rc3, following the "compiling on debian/ubuntu" guide and using "./configure --enable-static" as the configure line. It did not, however, work on the stable release of Kodi 15.2 Isengard. The configure script to this seems to ignore the "--enable-static" line and produces a dynamically linked executable anyway.

What's going on here? What am I doing wrong? Tongue