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