summaryrefslogtreecommitdiff
path: root/ucpp
diff options
context:
space:
mode:
Diffstat (limited to 'ucpp')
-rw-r--r--ucpp/Module_ucpp.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/ucpp/Module_ucpp.mk b/ucpp/Module_ucpp.mk
index 2bb67d9d26fc..dc4c02f5307b 100644
--- a/ucpp/Module_ucpp.mk
+++ b/ucpp/Module_ucpp.mk
@@ -9,9 +9,10 @@
$(eval $(call gb_Module_Module,ucpp))
-ifneq ($(CROSS_COMPILING),YES)
+# if not cross-compiling or we need ucpp for ODK
+ifneq (,$(if $(CROSS_COMPILING),,T)$(filter ODK,$(BUILD_TYPE)))
$(eval $(call gb_Module_add_targets,ucpp,\
- Executable_ucpp \
+ Executable_ucpp \
UnpackedTarball_ucpp \
))
endif