build: prevent SDL2 from polluting global cflags and extralibs
authorJames Almer <jamrial@gmail.com>
Sun, 8 Oct 2017 19:54:18 +0000 (16:54 -0300)
committerJames Almer <jamrial@gmail.com>
Tue, 10 Oct 2017 00:41:11 +0000 (21:41 -0300)
commitfde3bb16f90ac456709c7305b9e230e8327d8625
tree7d374e6004af60cb3936b8e47c8ab8da9c8436bb
parent217a723b4e0573129c4ec9c31ca3ee666a2a64f6
build: prevent SDL2 from polluting global cflags and extralibs

Remove the SDL_main define from the global cflags but not from the
ffplay cflags, and the -mwindows linker option from extralibs instead
of overriding it with the addition of -mconsole.

Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
configure
ffbuild/library.mak