summaryrefslogtreecommitdiff
path: root/codemaker/Module_codemaker.mk
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker/Module_codemaker.mk')
-rw-r--r--codemaker/Module_codemaker.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/codemaker/Module_codemaker.mk b/codemaker/Module_codemaker.mk
index c65d86c390cb..8b8f13f3b4fa 100644
--- a/codemaker/Module_codemaker.mk
+++ b/codemaker/Module_codemaker.mk
@@ -11,15 +11,13 @@ $(eval $(call gb_Module_Module,codemaker))
# if not cross-compiling or we need this for ODK
ifneq (,$(if $(CROSS_COMPILING),,T)$(filter ODK,$(BUILD_TYPE)))
-ifneq ($(OS),IOS)
$(eval $(call gb_Module_add_targets,codemaker,\
StaticLibrary_codemaker \
StaticLibrary_codemaker_cpp \
- StaticLibrary_codemaker_java \
- Executable_javamaker \
+ $(if $(filter TRUE,$(ENABLE_JAVA)),StaticLibrary_codemaker_java) \
+ $(if $(filter TRUE,$(ENABLE_JAVA)),Executable_javamaker) \
Executable_cppumaker \
))
endif
-endif
# vim:set noet sw=4 ts=4: