summaryrefslogtreecommitdiff
path: root/unoidl/Module_unoidl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'unoidl/Module_unoidl.mk')
-rw-r--r--unoidl/Module_unoidl.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/unoidl/Module_unoidl.mk b/unoidl/Module_unoidl.mk
index 308ccf1cd0ca..93f816493774 100644
--- a/unoidl/Module_unoidl.mk
+++ b/unoidl/Module_unoidl.mk
@@ -10,7 +10,8 @@
$(eval $(call gb_Module_Module,unoidl))
$(eval $(call gb_Module_add_targets,unoidl, \
- Executable_unoidl-read \
+ $(if $(filter DESKTOP,$(BUILD_TYPE)), \
+ Executable_unoidl-read) \
Library_unoidl \
))