demos/constraint-editor: Fix linking on MSVC builds

We must apply the /entry:mainCRTStartup linker flag in order to link GTK
apps in pure GUI form.  This follows what is done in demos/gtk-demo,
etc.
This commit is contained in:
Chun-wei Fan 2019-07-08 18:37:27 +08:00
parent 138986f064
commit a20fd5e14e

View File

@ -16,4 +16,5 @@ executable('gtk4-constraint-editor',
dependencies: libgtk_dep,
include_directories: confinc,
gui_app: true,
link_args: extra_demo_ldflags,
install: false)