mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/fiddle/extconf.rb: ignore rc version of libffi to fix build failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0687ed1e59
commit
67964f299b
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Sun May 19 11:37:36 2013 Kazuki Tsujimoto <kazuki@callcc.net>
|
||||
|
||||
* ext/fiddle/extconf.rb: ignore rc version of libffi to fix build failure.
|
||||
|
||||
Sun May 19 10:38:50 2013 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* misc/ruby-electric.el (ruby-electric-delete-backward-char): Use
|
||||
|
|
|
@ -6,6 +6,7 @@ dir_config 'libffi'
|
|||
|
||||
pkg_config("libffi")
|
||||
if ver = pkg_config("libffi", "modversion")
|
||||
ver = ver.gsub(/-rc\d+/, '') # If ver contains rc version, just ignored.
|
||||
$defs.push(%{-DRUBY_LIBFFI_MODVERSION=#{ '%d%03d%03d' % ver.split('.') }})
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue