summaryrefslogtreecommitdiff
path: root/desktop/Executable_soffice.bin.mk
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2011-11-30 12:01:06 +0100
committerAndras Timar <atimar@suse.com>2011-11-30 12:08:43 +0100
commitd76479654748454e280ac48217fb0036bc5940a1 (patch)
tree4a5fc3c3e06250f524945cc141b24b968dafe23b /desktop/Executable_soffice.bin.mk
parent0ddefdad69ac963126a3ab6bec2f536804d92c56 (diff)
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.
Diffstat (limited to 'desktop/Executable_soffice.bin.mk')
-rw-r--r--desktop/Executable_soffice.bin.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/Executable_soffice.bin.mk b/desktop/Executable_soffice.bin.mk
index cc5796ad0059..9682afcd4e34 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