mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-16 16:33:55 +02:00
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:
+2
-2
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user