auto merge of #11323 : sanxiyn/rust/llvm-config, r=alexcrichton

Standard error was not captured, ignoring any errors from llvm-config.
This commit is contained in:
bors 2014-01-05 09:01:59 -08:00
commit 8fc148f991

View File

@ -49,7 +49,7 @@ for llconfig in sys.argv[3:]:
args = [llconfig, '--libs']
args.extend(components)
proc = subprocess.Popen(args, stdout = subprocess.PIPE)
proc = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, err = proc.communicate()
if err: