[Libreoffice-commits] core.git: unoidl/Module_unoidl.mk

Stephan Bergmann sbergman at redhat.com
Mon Mar 4 02:08:34 PST 2013


 unoidl/Module_unoidl.mk |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

New commits:
commit 7ad376c6a60695d896cca4929c7aede207328cfd
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Mar 4 11:08:08 2013 +0100

    reg2unoidl is a build-time tool (for now, at least)
    
    Change-Id: I6078ee0e7371fc0c5db058fd43f608bc40ca3eb1

diff --git a/unoidl/Module_unoidl.mk b/unoidl/Module_unoidl.mk
index 1f8bd73..eab6f12 100644
--- a/unoidl/Module_unoidl.mk
+++ b/unoidl/Module_unoidl.mk
@@ -10,11 +10,14 @@
 $(eval $(call gb_Module_Module,unoidl))
 
 $(eval $(call gb_Module_add_targets,unoidl, \
-    $(if $(filter DESKTOP,$(BUILD_TYPE)), \
-        Executable_reg2unoidl \
-    ) \
     Library_unoidl \
     Package_inc \
 ))
 
+ifneq ($(CROSS_COMPILING),YES)
+$(eval $(call gb_Module_add_targets,unoidl, \
+    Executable_reg2unoidl \
+))
+endif
+
 # vim: set noet sw=4 ts=4:


More information about the Libreoffice-commits mailing list