From 5b517e43e21885bb0cf4342865d70218b2298ec8 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Mon, 21 Aug 2017 03:58:19 +0200 Subject: updater: set executable type GUI for updater.exe Change-Id: I795cbd8634a3afe219db033ce40f833af0eee44a --- onlineupdate/Executable_updater.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'onlineupdate') 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: */ -- cgit