summaryrefslogtreecommitdiff
path: root/vcl/Module_vcl.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2023-01-11 12:56:04 +0200
committerTor Lillqvist <tml@collabora.com>2023-01-12 08:26:22 +0000
commit743713648e1abc124fc5783f3ea6a20b7d73701d (patch)
treee55e6cf319a443974b56694e1db646f01ee6ce64 /vcl/Module_vcl.mk
parent941ab8acf0765131fb9d0af560846293f3768d13 (diff)
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 <tml@collabora.com>
Diffstat (limited to 'vcl/Module_vcl.mk')
-rw-r--r--vcl/Module_vcl.mk4
1 files changed, 3 insertions, 1 deletions
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 \