Fix bug introduced by changeset 9137:822abb428976 Allow using CXX='distcc g++' with ./waf configure.
This commit is contained in:
2
wscript
2
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()
|
||||
|
||||
Reference in New Issue
Block a user