diff options
author | Stephen Hutchinson <qyot27@gmail.com> | 2015-08-18 12:00:06 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-18 21:20:50 +0200 |
commit | c5308eea29216c218b61599dc83911d2c1afe716 (patch) | |
tree | 95e3529508a20206d555c5b596c27a0268150981 /libavutil/aarch64/cpu.h | |
parent | 3285005347b2980fc078d4b5777844070bb6113b (diff) | |
download | ffmpeg-streaming-c5308eea29216c218b61599dc83911d2c1afe716.zip ffmpeg-streaming-c5308eea29216c218b61599dc83911d2c1afe716.tar.gz |
configure: force -mconsole when linking SDL under MinGW
When building SDL with MinGW, it sets -mwindows with the
assumption that the application is a GUI application. If this
is linked without passing -mconsole to configure via
--extra-ldflags, stdout will be silenced from cmd.exe while
running FFmpeg.
The -mwindows flag that causes this behavior is included in the
sdl_libs variable, so append -mconsole there rather than create
an sdl_ldflags case just to insert it (especially if -mconsole
must come *after* -mwindows in order to be effective).
Reviewed-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/aarch64/cpu.h')
0 files changed, 0 insertions, 0 deletions