summaryrefslogtreecommitdiff
path: root/unoidl
diff options
context:
space:
mode:
Diffstat (limited to 'unoidl')
-rw-r--r--unoidl/Module_unoidl.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/unoidl/Module_unoidl.mk b/unoidl/Module_unoidl.mk
index e612d9d051d8..1f8bd739812e 100644
--- a/unoidl/Module_unoidl.mk
+++ b/unoidl/Module_unoidl.mk
@@ -10,7 +10,9 @@
$(eval $(call gb_Module_Module,unoidl))
$(eval $(call gb_Module_add_targets,unoidl, \
- Executable_reg2unoidl \
+ $(if $(filter DESKTOP,$(BUILD_TYPE)), \
+ Executable_reg2unoidl \
+ ) \
Library_unoidl \
Package_inc \
))