Mercurial > vim
comparison src/configure.ac @ 12614:12f4408c7f69 v8.0.1185
patch 8.0.1185: Ruby library includes minor version number
commit https://github.com/vim/vim/commit/9202162c5c069c925b6b9bf84e546fbd362cdf46
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Oct 12 12:33:43 2017 +0200
patch 8.0.1185: Ruby library includes minor version number
Problem: Ruby library includes minor version number.
Solution: Only use the API version number. (Ben Boeckel, closes https://github.com/vim/vim/issues/2199)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 12 Oct 2017 12:45:07 +0200 |
parents | 55257baece9a |
children | baf88919c791 |
comparison
equal
deleted
inserted
replaced
12613:d9deffab15dc | 12614:12f4408c7f69 |
---|---|
1900 RUBY_SRC="if_ruby.c" | 1900 RUBY_SRC="if_ruby.c" |
1901 RUBY_OBJ="objects/if_ruby.o" | 1901 RUBY_OBJ="objects/if_ruby.o" |
1902 RUBY_PRO="if_ruby.pro" | 1902 RUBY_PRO="if_ruby.pro" |
1903 AC_DEFINE(FEAT_RUBY) | 1903 AC_DEFINE(FEAT_RUBY) |
1904 if test "$enable_rubyinterp" = "dynamic"; then | 1904 if test "$enable_rubyinterp" = "dynamic"; then |
1905 libruby=`$vi_cv_path_ruby -r rbconfig -e "puts $ruby_rbconfig::CONFIG[['LIBRUBY_SO']]"` | 1905 libruby_soname=`$vi_cv_path_ruby -r rbconfig -e "puts $ruby_rbconfig::CONFIG[['LIBRUBY_ALIASES']].split[[0]]"` |
1906 AC_DEFINE(DYNAMIC_RUBY) | 1906 AC_DEFINE(DYNAMIC_RUBY) |
1907 RUBY_CFLAGS="-DDYNAMIC_RUBY_DLL=\\\"$libruby\\\" -DDYNAMIC_RUBY_VER=$rubyversion $RUBY_CFLAGS" | 1907 RUBY_CFLAGS="-DDYNAMIC_RUBY_DLL=\\\"$libruby_soname\\\" -DDYNAMIC_RUBY_VER=$rubyversion $RUBY_CFLAGS" |
1908 RUBY_LIBS= | 1908 RUBY_LIBS= |
1909 fi | 1909 fi |
1910 else | 1910 else |
1911 AC_MSG_RESULT(not found; disabling Ruby) | 1911 AC_MSG_RESULT(not found; disabling Ruby) |
1912 fi | 1912 fi |