mirror of https://github.com/mpv-player/mpv
wscript: remove MSVC from compiler lookup
MSVC is not supported and waf doesn't respect CC environment value like any sane buildsystem.
This commit is contained in:
parent
c25682f09e
commit
c3149d9fc2
3
wscript
3
wscript
|
@ -6,6 +6,7 @@ sys.path.insert(0, os.getcwd())
|
|||
from shlex import split
|
||||
from waflib.Configure import conf
|
||||
from waflib.Tools import c_preproc
|
||||
from waflib.Tools.compiler_c import c_compiler
|
||||
from waflib import Utils
|
||||
from waftools.checks.generic import *
|
||||
from waftools.checks.custom import *
|
||||
|
@ -13,6 +14,8 @@ from waftools.checks.custom import *
|
|||
c_preproc.go_absolute=True # enable system folders
|
||||
c_preproc.standard_includes.append('/usr/local/include')
|
||||
|
||||
c_compiler['win32'].remove('msvc')
|
||||
|
||||
APPNAME = 'mpv'
|
||||
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue