summaryrefslogtreecommitdiffstats
path: root/src/auto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-10-12 12:33:43 +0200
committerBram Moolenaar <Bram@vim.org>2017-10-12 12:33:43 +0200
commit9202162c5c069c925b6b9bf84e546fbd362cdf46 (patch)
tree7e6c64a6b068ba888c14fdde4ca595fdd058c56d /src/auto
parent9b69f22e66d51d764e9ade87ae8a57ac13ab7348 (diff)
patch 8.0.1185: Ruby library includes minor version numberv8.0.1185
Problem: Ruby library includes minor version number. Solution: Only use the API version number. (Ben Boeckel, closes #2199)
Diffstat (limited to 'src/auto')
-rwxr-xr-xsrc/auto/configure6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/auto/configure b/src/auto/configure
index 947860f168..4ee62b3717 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -5722,7 +5722,7 @@ $as_echo "OK" >&6; }
-e 's/-fdebug-prefix-map[^ ]*//g' \
-e 's/-pipe //' \
-e 's/-W[^ ]*//g' \
- -e 's/-D_FORTIFY_SOURCE=.//g'`
+ -e 's/-D_FORTIFY_SOURCE=.//g'`
perllibs=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed -e 'ldopts' | \
sed -e '/Warning/d' -e '/Note (probably harmless)/d' \
-e 's/-bE:perl.exp//' -e 's/-lc //'`
@@ -7200,10 +7200,10 @@ $as_echo "$rubyhdrdir" >&6; }
$as_echo "#define FEAT_RUBY 1" >>confdefs.h
if test "$enable_rubyinterp" = "dynamic"; then
- libruby=`$vi_cv_path_ruby -r rbconfig -e "puts $ruby_rbconfig::CONFIG['LIBRUBY_SO']"`
+ libruby_soname=`$vi_cv_path_ruby -r rbconfig -e "puts $ruby_rbconfig::CONFIG['LIBRUBY_ALIASES'].split[0]"`
$as_echo "#define DYNAMIC_RUBY 1" >>confdefs.h
- RUBY_CFLAGS="-DDYNAMIC_RUBY_DLL=\\\"$libruby\\\" -DDYNAMIC_RUBY_VER=$rubyversion $RUBY_CFLAGS"
+ RUBY_CFLAGS="-DDYNAMIC_RUBY_DLL=\\\"$libruby_soname\\\" -DDYNAMIC_RUBY_VER=$rubyversion $RUBY_CFLAGS"
RUBY_LIBS=
fi
else