[Libreoffice-commits] .: desktop/Executable_soffice.bin.mk

Andras Timar timar at kemper.freedesktop.org
Wed Nov 30 03:08:50 PST 2011


 desktop/Executable_soffice.bin.mk |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit d76479654748454e280ac48217fb0036bc5940a1
Author: Andras Timar <atimar at suse.com>
Date:   Wed Nov 30 12:01:06 2011 +0100

    temporary hack: soffice.bin should be type of GUI app, not CUI app fdo#42914
    
    It is puzzling that Executable_soffice.bin.mk contains the line
    $(eval $(call gb_Executable_set_targettype_gui,$(sofficebin),YES))
    yet, in the build log we see -SUBSYSTEM:CONSOLE among the linker flags.
    I added -SUBSYSTEM:WINDOWS flag exlicitely, and it comes later so it
    prevails. I guess MinGW will be still affected. It really should be
    fixed correctly by a gbuild expert.

diff --git a/desktop/Executable_soffice.bin.mk b/desktop/Executable_soffice.bin.mk
index cc5796a..9682afc 100644
--- a/desktop/Executable_soffice.bin.mk
+++ b/desktop/Executable_soffice.bin.mk
@@ -58,6 +58,7 @@ ifeq ($(COM),MSC)
 
 $(eval $(call gb_Executable_add_ldflags,$(sofficebin),\
     /STACK:10000000 \
+    /SUBSYSTEM:WINDOWS \
 ))
 
 endif


More information about the Libreoffice-commits mailing list