vclplug_svp build error with --enable-headless

Matúš Kukan matus.kukan at gmail.com
Thu Jun 6 08:14:17 PDT 2013


Hi,

On 5 June 2013 19:46, Riccardo Magliocchetti
<riccardo.magliocchetti at gmail.com> wrote:
> Finally find some more time to investigate the issue and produced the
> attached patch. I think  that the correct check for svplug stuff should be
> GUIBASE == unx as done in vcl/Module_vcl.mk.

Except you need to check this for build platform when cross-compiling,
so it should be GUIBASE_FOR_BUILD which does not exist and we don't
want to introduce it.

Try something like: (and the same in solenv/gbuild/Gallery.mk)

--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
        $(call gb_Library_get_target,$(gb_CPPU_ENV)_uno) \
-       $(if $(filter-out MACOSX WNT,$(OS_FOR_BUILD)), \
+       $(if $(filter-out MACOSX WNT,$(OS_FOR_BUILD)),$(if
$(ENABLE_HEADLESS),, \
                $(call gb_Library_get_target,vclplug_svp) \
-       ) \
+       )) \

Best,

Matus


More information about the LibreOffice mailing list