summaryrefslogtreecommitdiff
path: root/unoidl/Module_unoidl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'unoidl/Module_unoidl.mk')
-rw-r--r--unoidl/Module_unoidl.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/unoidl/Module_unoidl.mk b/unoidl/Module_unoidl.mk
index e158e125c894..a8b8ba14d2e5 100644
--- a/unoidl/Module_unoidl.mk
+++ b/unoidl/Module_unoidl.mk
@@ -9,14 +9,17 @@
$(eval $(call gb_Module_Module,unoidl))
+# Executable_unoidl-check: !CROSS || ODK => !(CROSS && !ODK)
+
$(eval $(call gb_Module_add_targets,unoidl, \
$(if $(filter DESKTOP,$(BUILD_TYPE)), \
Executable_unoidl-read) \
+ $(if $(and $(CROSS_COMPILING),$(filter-out ODK,$(BUILD_TYPE))),, \
+ Executable_unoidl-check) \
Library_unoidl \
))
$(eval $(call gb_Module_add_targets_for_build,unoidl, \
- Executable_unoidl-check \
Executable_unoidl-write \
))