2015-10-27, 15:09
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?
What's going on here? What am I doing wrong?