From 5d88bed78fce81febee4a7ebfdb1dca994137209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vedran=20Mileti=C4=87?= Date: Fri, 16 Nov 2012 22:23:40 +0100 Subject: [PATCH] Fix bug introduced by changeset 9137:822abb428976 Allow using CXX='distcc g++' with ./waf configure. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 39eb95883..c75e11ed8 100644 --- a/wscript +++ b/wscript @@ -342,7 +342,7 @@ def configure(conf): env.append_value("LINKFLAGS", "-Wl,--enable-auto-import") cxx = env['CXX'] - cxx_check_libstdcxx = cxx + ['stdout=subprocess.PIPE'] + cxx_check_libstdcxx = cxx + ['-print-file-name=libstdc++.so'] p = subprocess.Popen(cxx_check_libstdcxx, stdout=subprocess.PIPE) libstdcxx_location = os.path.dirname(p.stdout.read().strip()) p.wait()