mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 01:46:15 +01:00
Remove another sys.platform == win32
This commit is contained in:
parent
015a51a7cf
commit
35617abe5e
@ -21,7 +21,7 @@ Or:
|
||||
self.load('clang_cl')
|
||||
"""
|
||||
|
||||
import sys, os
|
||||
import os
|
||||
|
||||
from waflib import Utils, Errors, Logs
|
||||
from waflib.Configure import conf
|
||||
@ -104,7 +104,7 @@ def find_llvm_tools(self):
|
||||
Logs.warn('Resource compiler not found. Compiling resource file is disabled')
|
||||
|
||||
def configure(self):
|
||||
if sys.platform == 'win32':
|
||||
if Utils.is_win32:
|
||||
self.autodetect(True)
|
||||
self.find_msvc()
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user