[FFmpeg-devel] [PATCH] configure: force -mconsole when linking SDL under MinGW
michael at niedermayer.cc
Tue Aug 18 21:21:50 CEST 2015
On Tue, Aug 18, 2015 at 07:04:21PM +0000, Timothy Gu wrote:
> On Tue, Aug 18, 2015 at 9:01 AM Stephen Hutchinson <qyot27 at gmail.com> wrote:
> > 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).
> > ---
> > configure | 3 +++
> > 1 file changed, 3 insertions(+)
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The real ebay dictionary, page 3
"Rare item" - "Common item with rare defect or maybe just a lie"
"Professional" - "'Toy' made in china, not functional except as doorstop"
"Experts will know" - "The seller hopes you are not an expert"
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: Digital signature
More information about the ffmpeg-devel