summaryrefslogtreecommitdiff
path: root/buildlib
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:57:47 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:57:47 +0000
commitfdba65036a5bb3940bf98a7dfd9851f45751e562 (patch)
treecb006542085e8538a7c456d3b79c68f1a166afb2 /buildlib
parent6df63aa65815d1eedf6ab9201754c3ee1ea90869 (diff)
libstdc++ and HURD. Closes: #92025
Author: jgg Date: 2001-04-29 05:30:40 GMT libstdc++ and HURD. Closes: #92025
Diffstat (limited to 'buildlib')
-rw-r--r--buildlib/tools.m42
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