summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@gmail.com>2009-02-21 16:18:23 +0000
committerDamien Lespiau <damien.lespiau@gmail.com>2009-02-21 16:18:23 +0000
commit1978ee86293710e767d1bad60473cafb673b1b17 (patch)
tree99b9acefaa28ec66256be8558f6ced369357df10
parentf657b15c68f8124e66a7c14d17bcda9e77d2b029 (diff)
Fix libtool unmangling regexp
No idea why this obviously wrong regexp was here...
-rw-r--r--shave/shave-libtool.in2
-rw-r--r--shave/shave.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/shave/shave-libtool.in b/shave/shave-libtool.in
index 02de5ad..8c468e2 100644
--- a/shave/shave-libtool.in
+++ b/shave/shave-libtool.in
@@ -9,7 +9,7 @@ Xsed="$SED -e s/^X//"
lt_unmangle ()
{
- last_result=`echo -n X$1 | $Xsed -e 's#.libs/##' -e 's#[^0-9a-zA-Z_]\+_la##'`
+ last_result=`echo -n X$1 | $Xsed -e 's#.libs/##' -e 's#[0-9a-zA-Z_]\+_la-##'`
}
# the real libtool to use
diff --git a/shave/shave.in b/shave/shave.in
index 487596e..97ff947 100644
--- a/shave/shave.in
+++ b/shave/shave.in
@@ -9,7 +9,7 @@ Xsed="$SED -e s/^X//"
lt_unmangle ()
{
- last_result=`echo -n X$1 | $Xsed -e 's#.libs/##' -e 's#[^0-9a-zA-Z_]\+_la##'`
+ last_result=`echo -n X$1 | $Xsed -e 's#.libs/##' -e 's#[0-9a-zA-Z_]\+_la-##'`
}
# the tool to wrap (cc, cxx, ar, ranlib, ..)