I’ve been trying to build for Android on different OSes/Gitian with varying success. Build system is quite the beast and sometimes it doesn’t get it right. To make sure it does these three little tweaks make the Android build more robust:
- disable D-Bus (Android doesn’t support it and has its own way to trigger notifications)
- don’t flag
-lpthread
when linking Boost, Bionic has built-in support add-static-libstdc++
to linker flags. This avoids having to bundlelibc++_shared
with CLI apps, still necessary withbitcoin-qt
though (thanks Sjors)
I think these are small and fairly straightforward so I put them all into this one PR.