[waf] Fix ./waf configure --bundled-clang=5.0.0

This commit is contained in:
Fangrui Song 2017-12-18 13:30:57 -08:00
parent 002d32c8a0
commit 0cf54f3557

View File

@ -171,7 +171,7 @@ def configure(ctx):
ctx.check_cxx(msg='Checking for library clang', lib=libname('clang'), uselib_store='clang', includes=includes, libpath=libpath) ctx.check_cxx(msg='Checking for library clang', lib=libname('clang'), uselib_store='clang', includes=includes, libpath=libpath)
else: else:
global CLANG_TARBALL_NAME global CLANG_TARBALL_NAME, CLANG_TARBALL_EXT
# TODO Remove these after dropping clang 4 (after we figure out how to index Chrome) # TODO Remove these after dropping clang 4 (after we figure out how to index Chrome)
if ctx.options.bundled_clang[0] == '4': if ctx.options.bundled_clang[0] == '4':