vcl/Module_vcl.mk |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 743713648e1abc124fc5783f3ea6a20b7d73701d
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Wed Jan 11 12:56:04 2023 +0200
Commit:     Tor Lillqvist <t...@collabora.com>
CommitDate: Thu Jan 12 08:26:22 2023 +0000

    Don't bother building the vcldemo executable for WASM unless using Qt5
    
    Reduces build time a bit.
    
    Sadly, we do need to build soffice.wasm also when not using Qt5,
    because wasm/Makefile.am in online uses its .linkdeps file.
    
    Change-Id: I48f67598050208220e63e3a0ff627f6420ff837f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145353
    Tested-by: Jenkins
    Reviewed-by: Tor Lillqvist <t...@collabora.com>

diff --git a/vcl/Module_vcl.mk b/vcl/Module_vcl.mk
index 596ed5b8c03a..b6d06a6bc351 100644
--- a/vcl/Module_vcl.mk
+++ b/vcl/Module_vcl.mk
@@ -37,7 +37,9 @@ $(eval $(call gb_Module_add_targets,vcl,\
     $(if $(filter DESKTOP FUZZERS,$(BUILD_TYPE)), \
         StaticLibrary_vclmain \
         $(if $(or $(DISABLE_GUI),$(DISABLE_DYNLOADING)), \
-            $(if $(filter EMSCRIPTEN,$(OS)),Executable_vcldemo) \
+            $(if $(filter EMSCRIPTEN,$(OS)), \
+                $(if $(ENABLE_QT5),Executable_vcldemo) \
+            ) \
         , \
             $(if $(filter LINUX MACOSX SOLARIS WNT %BSD,$(OS)), \
                 Executable_vcldemo \

Reply via email to