summaryrefslogtreecommitdiffstats
path: root/korundum
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2013-08-25 15:50:36 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-08-25 15:51:15 +0200
commitdcb2a2fbc7235fff7757f1e7af661db9cdd21afd (patch)
tree7765a1c5a54e024406debd1cc2e445d759638b76 /korundum
parent03f7d427741642bc80d1174c6af6e826d6315e09 (diff)
downloadtdebindings-dcb2a2fbc7235fff7757f1e7af661db9cdd21afd.tar.gz
tdebindings-dcb2a2fbc7235fff7757f1e7af661db9cdd21afd.zip
Fix libtool refuses to install in RUBY directory
Diffstat (limited to 'korundum')
-rw-r--r--korundum/rubylib/korundum/configure.in.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/korundum/rubylib/korundum/configure.in.in b/korundum/rubylib/korundum/configure.in.in
index e1a84710..4ab1532e 100644
--- a/korundum/rubylib/korundum/configure.in.in
+++ b/korundum/rubylib/korundum/configure.in.in
@@ -54,6 +54,13 @@ else
RUBY_INCLUDEDIR=$RUBY_ARCHDIR
RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`
fi
+
+ # Removes trailing slashes, if any, to avoid fail to install with recent libtool.
+ RUBY_ARCHDIR=${RUBY_ARCHDIR%/}
+ RUBY_SITEDIR=${RUBY_SITEDIR%/}
+ RUBY_LIBDIR=${RUBY_LIBDIR%/}
+ RUBY_RUBYLIBDIR=${RUBY_RUBYLIBDIR%/}
+
AC_MSG_RESULT([
archdir $RUBY_ARCHDIR,
sitearchdir $RUBY_SITEARCHDIR,