Build dependency on external cppunit
Richard Cochran
richardcochran at gmail.com
Mon May 18 02:03:04 PDT 2015
On Mon, May 11, 2015 at 05:57:38PM +0200, Michael Stahl wrote:
> On 08.05.2015 16:53, Miklos Vajna wrote:
> > 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.
If I remove this test, then it works.
> 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
This does not work for me (cherry picked onto 4403).
--
/mnt/storage/git/libreoffice/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx:28:29: fatal error: cppunit/Message.h: No such file or directory
#include "cppunit/Message.h"
^
compilation terminated.
/mnt/storage/git/libreoffice/solenv/gbuild/LinkTarget.mk:189: recipe for target '/mnt/storage/git/libreoffice/workdir/CxxObject/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.o' failed
make[1]: *** [/mnt/storage/git/libreoffice/workdir/CxxObject/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:237: recipe for target 'build' failed
make: *** [build] Error 2
Sorry,
Richard
More information about the LibreOffice
mailing list