summaryrefslogtreecommitdiff
path: root/desktop/Executable_simpress.mk
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/Executable_simpress.mk')
-rw-r--r--desktop/Executable_simpress.mk11
1 files changed, 6 insertions, 5 deletions
diff --git a/desktop/Executable_simpress.mk b/desktop/Executable_simpress.mk
index 4d0648e1302a..d486f5716aff 100644
--- a/desktop/Executable_simpress.mk
+++ b/desktop/Executable_simpress.mk
@@ -15,17 +15,18 @@ $(eval $(call gb_Executable_add_defs,simpress,\
-DUNICODE \
))
+$(eval $(call gb_Executable_add_ldflags,simpress,\
+ /ENTRY:wWinMainCRTStartup \
+))
+
$(eval $(call gb_Executable_use_libraries,simpress,\
$(gb_UWINAPI) \
))
-$(eval $(call gb_Executable_add_libs,simpress,\
- $(call gb_CxxObject_get_target,desktop/win32/source/applauncher/launcher) \
+$(eval $(call gb_Executable_use_static_libraries,simpress,\
+ winlauncher \
))
-$(call gb_Executable_get_target,simpress) : \
- $(call gb_CxxObject_get_target,desktop/win32/source/applauncher/launcher)
-
$(eval $(call gb_Executable_add_exception_objects,simpress,\
desktop/win32/source/applauncher/simpress \
))