diff options
author | Andrei Alexeyev <0x416b617269@gmail.com> | 2019-02-17 21:25:00 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-02-18 22:08:36 +0200 |
commit | 2d0841c62423eb8316749476c2d2eac9db25de55 (patch) | |
tree | c09abf14fff0ad98575111aa451c60dc1163fb04 /mesonbuild/compilers/cpp.py | |
parent | 80f16cac8fd4ef7d0ab31ab8b6d94e3b6f3495ff (diff) | |
download | meson-2d0841c62423eb8316749476c2d2eac9db25de55.zip meson-2d0841c62423eb8316749476c2d2eac9db25de55.tar.gz meson-2d0841c62423eb8316749476c2d2eac9db25de55.tar.bz2 |
Improve handling of gui_app
This does two things:
* On windows GCC-like compilers, the subsystem is always explicitly
specified (either -mwindows or -mconsole). MSVC is already explicit.
* The gui_app linker flags are now added after those mandated by
external dependencies. This is because some misguided libraries (such
as SDL) think that hijacking `main()` and forcing `-mwindows` in link
flags is clever. We must unconditionally override such misuses to let
gui_app work as intended.
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
0 files changed, 0 insertions, 0 deletions