From fdba65036a5bb3940bf98a7dfd9851f45751e562 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:57:47 +0000 Subject: libstdc++ and HURD. Closes: #92025 Author: jgg Date: 2001-04-29 05:30:40 GMT libstdc++ and HURD. Closes: #92025 --- buildlib/tools.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildlib/tools.m4') 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 -- cgit v1.2.3