Files
yabridge/cross-wine.conf
T
Robbert van der Helm c05040d98b 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.
2020-12-10 18:01:11 +01:00

26 lines
864 B
Plaintext

[binaries]
c = 'winegcc'
cpp = 'wineg++'
ar = 'ar'
strip = 'strip'
# Needs to be specified explicitely for Fedora 32
pkgconfig = 'pkg-config'
[properties]
needs_exe_wrapper = true
[built-in options]
# Instead of specifying the target architecture below, we'll do this directly in
# the meson.build file. By setting the `-m64` flags there (or `-m32`), we can
# build both the regular 64-bit version of the host application and the 32-bit
# bit bridge in the same build. This ensures that the plugin and both host
# 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 = ['-mconsole']
# For instance, this should be in the 64-bit only cross-file
# c_args = ['-m64']
# cpp_args = ['-m64']
# cpp_link_args = ['-m64', '-mconsole']