summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-21 03:58:19 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-21 05:40:00 +0200
commit5b517e43e21885bb0cf4342865d70218b2298ec8 (patch)
tree1b761fe4b3ec8ebb7df1e362e055a6730edea355
parent893298e777decac8671fa24b3083357f31a924eb (diff)
updater: set executable type GUI for updater.exe
Change-Id: I795cbd8634a3afe219db033ce40f833af0eee44a
-rw-r--r--onlineupdate/Executable_updater.mk10
1 files changed, 8 insertions, 2 deletions
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: */