diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-10-30 16:27:55 +0100 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2020-10-31 06:44:49 +0100 |
commit | 8c26281f84fc935600a99a1e83a26a841ae63fa9 (patch) | |
tree | 2eedfa997a298c38515876e2cc78fd07736fb07d /unoidl | |
parent | cab162e77a357bef8e8f5563acfa46b09bd5340c (diff) |
Simplify makefile logic using new gb_not
Change-Id: I19cb227a52fe6cd55dbba7b28689c4de995837fd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105075
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'unoidl')
-rw-r--r-- | unoidl/Module_unoidl.mk | 3 |
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 \ )) |