Fix bug introduced by changeset 9137:822abb428976 Allow using CXX='distcc g++' with ./waf configure.

This commit is contained in:
Vedran Miletić
2012-11-16 22:23:40 +01:00
parent 582102334e
commit 5d88bed78f

View File

@@ -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()