diff options
Diffstat (limited to 'registry')
-rw-r--r-- | registry/Module_registry.mk | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/registry/Module_registry.mk b/registry/Module_registry.mk index a488bd8b14e4..6aec72fb23b2 100644 --- a/registry/Module_registry.mk +++ b/registry/Module_registry.mk @@ -27,17 +27,18 @@ $(eval $(call gb_Module_Module,registry)) $(eval $(call gb_Module_add_targets,registry,\ - Library_reg \ - ZipPackage_registry_odk_headers \ + Library_reg \ + ZipPackage_registry_odk_headers \ )) -ifneq (,$(filter DESKTOP,$(BUILD_TYPE))) +# if not cross-compiling or we need this for ODK +ifneq (,$(if $(CROSS_COMPILING),,T)$(filter ODK,$(BUILD_TYPE))) $(eval $(call gb_Module_add_targets,registry,\ - StaticLibrary_registry_helper \ - Executable_regmerge \ - Executable_regview \ - Executable_regcompare \ + Executable_regcompare \ + Executable_regmerge \ + Executable_regview \ + StaticLibrary_registry_helper \ )) endif |