Build dependency on external cppunit

Michael Stahl mstahl at redhat.com
Mon May 11 08:57:38 PDT 2015


On 08.05.2015 16:53, Miklos Vajna wrote:
> On Fri, May 08, 2015 at 03:55:35PM +0200, Richard Cochran <richardcochran at gmail.com> wrote:
>> Ok, it is somehow related to the cross compile configuration.  The
>> 'make cppunit.all' works as expected with a native build.
> 
> Isn't the very point of cross-compilation that the resulting binary is
> not something you can run? If so, I find it a feature that unit tests
> are not built / executed when cross-compiling. :-)
> 
> In any case:
> 
> if test "$cross_compiling" != "yes"; then
>     libo_CHECK_SYSTEM_MODULE([cppunit],[CPPUNIT],[cppunit >= 1.12.0])
> fi
> 
> in configure.ac where cppunit is disabled in case of cross-compiling.
> 

the problem is that sal/Executable_cppunittester.mk had a different
conditional, it was wrongly checking for DESKTOP so it's not built on
Android/iOS but is built for any other cross-compilation target,

fixed on master with 26ebcb023ef3d38956085cbb39416e6f148ab351



More information about the LibreOffice mailing list