diff options
Diffstat (limited to 'buildlib')
-rw-r--r-- | buildlib/tools.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildlib/tools.m4 b/buildlib/tools.m4 index 564ca111c..cb57bb34f 100644 --- a/buildlib/tools.m4 +++ b/buildlib/tools.m4 @@ -123,7 +123,7 @@ _LIBSTDCPP_ if test "$?" = 0; then soname=`objdump -p ./$dummy |grep NEEDED|grep libstd` - LIBSTDCPP_VER=`echo $soname | sed -e 's/.*NEEDED.*libstdc++-libc.*-\(.*\).so.\(.*\)/\2-\1/'` + LIBSTDCPP_VER=`echo $soname | sed -e 's/.*NEEDED.*libstdc++\(-libc.*\(-.*\)\)\?.so.\(.*\)/\3\2/'` fi rm -f $dummy $dummy.cc |