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.
This commit is contained in:
Robbert van der Helm
2020-12-10 18:01:11 +01:00
parent e3a52bca14
commit c05040d98b
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -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 - 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 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 plugin to shut down. This could happen when using Kontakt in Bitwig, as Bitwig
BItwig sets a limit on the amount of time a plugin may take to shut down when sets a limit on the amount of time a plugin may take to shut down when closing
closing Bitwig. Bitwig.
## [2.1.0] - 2020-11-20 ## [2.1.0] - 2020-11-20
+2 -2
View File
@@ -17,9 +17,9 @@ needs_exe_wrapper = true
# applications are always in sync. This might not be needed anymore once Meson # applications are always in sync. This might not be needed anymore once Meson
# cross compiling to multiple targets at once. # cross compiling to multiple targets at once.
# https://github.com/mesonbuild/meson/issues/5125 # 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 # For instance, this should be in the 64-bit only cross-file
# c_args = ['-m64'] # c_args = ['-m64']
# cpp_args = ['-m64'] # cpp_args = ['-m64']
# cpp_link_args = ['-m64', '-mwindows'] # cpp_link_args = ['-m64', '-mconsole']