mirror of https://github.com/mpv-player/mpv
build: add -mwin32 on cygwin
This commit is contained in:
parent
88099c8617
commit
58bf7fd1f3
|
@ -38,10 +38,14 @@ def __add_mingw_flags__(ctx):
|
|||
ctx.env.CFLAGS += ['-DBIG_ENDIAN=4321']
|
||||
ctx.env.LAST_LINKFLAGS += ['-mconsole']
|
||||
|
||||
def __add_cygwin_flags__(ctx):
|
||||
ctx.env.CFLAGS += ['-mwin32']
|
||||
|
||||
__compiler_map__ = {
|
||||
'__GNUC__': __add_gcc_flags__,
|
||||
'__clang__': __add_clang_flags__,
|
||||
'__MINGW32__': __add_mingw_flags__,
|
||||
'__CYGWIN__': __add_cygwin_flags__,
|
||||
}
|
||||
|
||||
def __apply_map__(ctx, fnmap):
|
||||
|
|
Loading…
Reference in New Issue