From c05040d98b6dad3275bf522ce28c4b192dcf4e2a Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Thu, 10 Dec 2020 18:01:11 +0100 Subject: [PATCH] Link with -mconsole instead of -mwindows Not sure why it even worked with -mwindows, but this is the correct linking option for the `main()` entry point. --- CHANGELOG.md | 6 +++--- cross-wine.conf | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cd2505f..e6347b4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,9 +32,9 @@ Versioning](https://semver.org/spec/v2.0.0.html). - Fixed an issue where in certain situations Wine processes were left running after the host got forcefully terminated before it got a chance to tell the - plugin to shut down. This could happen when using Kontakt in Bitwig, since - BItwig sets a limit on the amount of time a plugin may take to shut down when - closing Bitwig. + plugin to shut down. This could happen when using Kontakt in Bitwig, as Bitwig + sets a limit on the amount of time a plugin may take to shut down when closing + Bitwig. ## [2.1.0] - 2020-11-20 diff --git a/cross-wine.conf b/cross-wine.conf index 1033d8d7..0d7ff22b 100644 --- a/cross-wine.conf +++ b/cross-wine.conf @@ -17,9 +17,9 @@ needs_exe_wrapper = true # applications are always in sync. This might not be needed anymore once Meson # cross compiling to multiple targets at once. # https://github.com/mesonbuild/meson/issues/5125 -cpp_link_args = ['-mwindows'] +cpp_link_args = ['-mconsole'] # For instance, this should be in the 64-bit only cross-file # c_args = ['-m64'] # cpp_args = ['-m64'] -# cpp_link_args = ['-m64', '-mwindows'] +# cpp_link_args = ['-m64', '-mconsole']