Add a comment explaining part of the build script

This commit is contained in:
Anthony Cowley 2018-01-18 14:21:17 -05:00 committed by Jacob Dufault
parent 5bef84cabf
commit a4e3299e7d

View File

@ -304,6 +304,9 @@ def build(bld):
lib.append('ncurses') lib.append('ncurses')
if bld.env['use_system_clang']: if bld.env['use_system_clang']:
# If the user passed `--llvm-config=` (setting `llvm-config` to
# the empty string) to the configure phase, we should not try to
# run it.
if bld.env['llvm_config']: if bld.env['llvm_config']:
rpath = str(subprocess.check_output( rpath = str(subprocess.check_output(
[bld.env['llvm_config'], '--libdir'], [bld.env['llvm_config'], '--libdir'],