2023-01-09, 08:15
*UPDATE
This is dead, there's no way to get Kodi to build a 100% static binary because there's too many dependencies that won't have it.
* 2023-01-09, 07:15
Well I sure stepped in it, I'm trying to do a static linux build using the unified build system and I must be doing it wrong.
I'm having to back track into each dependency and build it instead of as a whole.
Did my bootstrap and configure from tools/depends (configure --with-toolchain=/usr --prefix=/opt/xbmc-deps --host=x86_64-linux-gnu --with-rendersystem=gl --enable-debug=no)
Performed make -j$(getconf _NPROCESSORS_ONLN) from the tools/depends sub directory first.
Figured out some things are not specifically built from there so I installed them via apt.
I've been going back and fourth trying to do make -C tools/depends/target/cmakebuildsys BUILD_DIR=$HOME/kodi-build from the source directory only to find out another depend is needed.
Finally my question is, even though I'm clearly not doing this the way it is intended from the README shouldn't all the depends make when I perform the make command from the depends folder.
Is there a platform specific list of depends I'm not seeing and since this is linux instead of android that's why the unified build system isn't doing it?
This is dead, there's no way to get Kodi to build a 100% static binary because there's too many dependencies that won't have it.
* 2023-01-09, 07:15
Well I sure stepped in it, I'm trying to do a static linux build using the unified build system and I must be doing it wrong.
I'm having to back track into each dependency and build it instead of as a whole.
Did my bootstrap and configure from tools/depends (configure --with-toolchain=/usr --prefix=/opt/xbmc-deps --host=x86_64-linux-gnu --with-rendersystem=gl --enable-debug=no)
Performed make -j$(getconf _NPROCESSORS_ONLN) from the tools/depends sub directory first.
Figured out some things are not specifically built from there so I installed them via apt.
I've been going back and fourth trying to do make -C tools/depends/target/cmakebuildsys BUILD_DIR=$HOME/kodi-build from the source directory only to find out another depend is needed.
Finally my question is, even though I'm clearly not doing this the way it is intended from the README shouldn't all the depends make when I perform the make command from the depends folder.
Is there a platform specific list of depends I'm not seeing and since this is linux instead of android that's why the unified build system isn't doing it?