summaryrefslogtreecommitdiff
path: root/unoidl
diff options
context:
space:
mode:
Diffstat (limited to 'unoidl')
-rw-r--r--unoidl/Module_unoidl.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/unoidl/Module_unoidl.mk b/unoidl/Module_unoidl.mk
index c8343bc6277a..11209c2d21fb 100644
--- a/unoidl/Module_unoidl.mk
+++ b/unoidl/Module_unoidl.mk
@@ -16,8 +16,7 @@ $(eval $(call gb_Module_Module,unoidl))
$(eval $(call gb_Module_add_targets,unoidl, \
$(if $(filter DESKTOP,$(BUILD_TYPE)), \
Executable_unoidl-read) \
- $(if $(CROSS_COMPILING), \
- $(if $(filter ODK,$(BUILD_TYPE)),Executable_unoidl-check), \
+ $(if $(or $(filter ODK,$(BUILD_TYPE)),$(call gb_not,$(CROSS_COMPILING))), \
Executable_unoidl-check) \
Library_unoidl \
))