summaryrefslogtreecommitdiff
path: root/demos/constraint-editor
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2019-07-08 18:37:27 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2019-07-08 18:37:27 +0800
commita20fd5e14e0b5e41c1b9eb15aa348ba1076e15fb (patch)
tree71d76175ae5ae668aa4c0fa1b65a7b24449abaa2 /demos/constraint-editor
parent138986f064aff2340f2d92075be0a46955dea30b (diff)
downloadgtk+-a20fd5e14e0b5e41c1b9eb15aa348ba1076e15fb.tar.gz
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.
Diffstat (limited to 'demos/constraint-editor')
-rw-r--r--demos/constraint-editor/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/constraint-editor/meson.build b/demos/constraint-editor/meson.build
index af66846437..ce51325b37 100644
--- a/demos/constraint-editor/meson.build
+++ b/demos/constraint-editor/meson.build
@@ -16,4 +16,5 @@ executable('gtk4-constraint-editor',
dependencies: libgtk_dep,
include_directories: confinc,
gui_app: true,
+ link_args: extra_demo_ldflags,
install: false)