diff options
-rw-r--r-- | Repository.mk | 2 | ||||
-rw-r--r-- | cpputools/Module_cpputools.mk | 9 | ||||
-rw-r--r-- | solenv/gbuild/Conditions.mk | 4 |
3 files changed, 6 insertions, 9 deletions
diff --git a/Repository.mk b/Repository.mk index da11a60bb8cf..2732439165e1 100644 --- a/Repository.mk +++ b/Repository.mk @@ -239,7 +239,7 @@ $(eval $(call gb_Helper_register_executables_for_install,UREBIN,ure,\ regmerge \ regview \ ) \ - $(if $(filter DESKTOP,$(BUILD_TYPE)),uno) \ + $(call gb_CondExeUno,uno) \ )) $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,base, \ diff --git a/cpputools/Module_cpputools.mk b/cpputools/Module_cpputools.mk index a3a35c6edcc7..9e41264daee4 100644 --- a/cpputools/Module_cpputools.mk +++ b/cpputools/Module_cpputools.mk @@ -9,16 +9,9 @@ $(eval $(call gb_Module_Module,cpputools)) -ifneq (,$(filter DESKTOP,$(BUILD_TYPE))) - $(eval $(call gb_Module_add_targets,cpputools,\ $(call gb_CondExeSp2bv,Executable_sp2bv) \ + $(call gb_CondExeUno,Executable_uno) \ )) -$(eval $(call gb_Module_add_targets,cpputools,\ - Executable_uno \ -)) - -endif - # vim:set noet sw=4 ts=4: diff --git a/solenv/gbuild/Conditions.mk b/solenv/gbuild/Conditions.mk index 6279f554eb40..f405ab86308b 100644 --- a/solenv/gbuild/Conditions.mk +++ b/solenv/gbuild/Conditions.mk @@ -23,6 +23,10 @@ define gb_CondExeSp2bv $(if $(and $(filter WNT,$(OS)),$(call gb_Helper_optionals_and,DESKTOP ODK,$(true))),$(1),$(2)) endef +define gb_CondExeUno +$(if $(and $(filter DESKTOP,$(BUILD_TYPE)),$(if $(DISABLE_DYNLOADING),,$(true))),$(1),$(2)) +endef + define gb_CondSalTextEncodingLibrary $(if $(filter ANDROID,$(OS)),,$(if $(DISABLE_DYNLOADING),$(2),$(1))) endef |