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:
Kacper Michajłow 2023-01-24 04:45:43 +01:00 committed by Dudemanguy
parent c25682f09e
commit c3149d9fc2
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@ sys.path.insert(0, os.getcwd())
from shlex import split from shlex import split
from waflib.Configure import conf from waflib.Configure import conf
from waflib.Tools import c_preproc from waflib.Tools import c_preproc
from waflib.Tools.compiler_c import c_compiler
from waflib import Utils from waflib import Utils
from waftools.checks.generic import * from waftools.checks.generic import *
from waftools.checks.custom 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.go_absolute=True # enable system folders
c_preproc.standard_includes.append('/usr/local/include') c_preproc.standard_includes.append('/usr/local/include')
c_compiler['win32'].remove('msvc')
APPNAME = 'mpv' APPNAME = 'mpv'
""" """