From a4416e389a2a20b39d66368f9d9328480b67ae90 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Mon, 18 May 2020 11:35:52 +0800 Subject: [PATCH] print-editor demo: Fix linking on Visual Studio We need to pass in '/entry:mainCRTStartup' as we did for the other demo programs that have 'gui_app: true' in their Meson build settings. --- demos/print-editor/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demos/print-editor/meson.build b/demos/print-editor/meson.build index cca25a946c..baa86aed12 100644 --- a/demos/print-editor/meson.build +++ b/demos/print-editor/meson.build @@ -3,4 +3,5 @@ executable('print-editor', c_args: common_cflags, dependencies: libgtk_dep, include_directories: confinc, - gui_app: true) + gui_app: true, + link_args: extra_demo_ldflags)