[Libreoffice-commits] core.git: onlineupdate/Executable_updater.mk

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Aug 21 03:42:34 UTC 2017


 onlineupdate/Executable_updater.mk |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

New commits:
commit 5b517e43e21885bb0cf4342865d70218b2298ec8
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon Aug 21 03:58:19 2017 +0200

    updater: set executable type GUI for updater.exe
    
    Change-Id: I795cbd8634a3afe219db033ce40f833af0eee44a

diff --git a/onlineupdate/Executable_updater.mk b/onlineupdate/Executable_updater.mk
index 754fc9e898d5..a717f2f8aa3c 100644
--- a/onlineupdate/Executable_updater.mk
+++ b/onlineupdate/Executable_updater.mk
@@ -40,6 +40,14 @@ $(eval $(call gb_Executable_add_libs,updater,\
 	Crypt32.lib \
 ))
 
+$(eval $(call gb_Executable_set_targettype_gui,updater,YES))
+
+$(eval $(call gb_Executable_add_nativeres,updater,updaterres))
+
+$(eval $(call gb_Executable_add_ldflags,updater,\
+	/ENTRY:wmainCRTStartup \
+))
+
 $(eval $(call gb_Executable_add_defs,updater,\
 	-DVERIFY_MAR_SIGNATURE \
 	-DUNICODE \
@@ -80,6 +88,4 @@ $(eval $(call gb_Executable_add_exception_objects,updater,\
 		onlineupdate/source/update/updater/win_dirent )\
 ))
 
-$(eval $(call gb_Executable_add_nativeres,updater,updaterres))
-
 # vim:set shiftwidth=4 tabstop=4 noexpandtab: */


More information about the Libreoffice-commits mailing list