print-editor demo: Fix linking on Visual Studio
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 18 May 2020 03:35:52 +0000 (11:35 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 18 May 2020 03:35:52 +0000 (11:35 +0800)
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

index cca25a946c0e92d8a7c159f3705828213c735c32..baa86aed120167304e38be5742ca40e0d0c257dd 100644 (file)
@@ -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)