The silly apkbuilder tool doesn't add extra native libs to an .apk
package unless their name ends with .so. It just silently ignores
them. So, force libtool to avoid versioning suffix for Android.
Yeah, unclear whether apkbuilder is what we will end up using to
construct the APKs of actual LO code using Android apps. But at this
stage when just trying to build a unit testing app, it seems to be the
simplest way to get the .apk properly signed and all to just use a
normal Ant project, and let Ant run apkbuilder.
In the spirit of 12759f67a3, change
external lib's config.sub to eat the arm-unknown-linux-androideabi
host os string. Also, permit shared libs again - seems Android can
handle those.
Added dictionaries to cross-build-toolset - idxdict is needed.
Should build up to sfx2 - some residual static lib issues there,
and in raptor.
For iOS, the LibreOffice unit tests that normally are built as
"plugins", i.e. dynamic libraries, are actually built as static
libraries, because we don't do any dynamic linking of own code on iOS.
Enable giving the "plugin" unit test entry point a different name than
a fixed "cppunitTestPlugIn", so that several unit tests can be linked
together into one executable, for simplicity.
Drop the stupid dummy main() function in cppunit plugins. I doubt any
Unix platform we care for needs it, but drop just for iOS and MacOSX
for now.
Makes it easier to build other stuff. Whether we will actually run
normal unit tests at build time, or ever, or not when cross-compiling
to some platform is a different matter...
Since the version of autotools used for the rolling of the tarball
and the version on a machine running the build might be different,
avoid breaking builds.
We don't define any dummy DllMain() any more so no need to include
<windows.h>. That was necessary just to get the types used by the
DllMain() prototype.