mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fiddle: check assembler
* ext/fiddle/extconf.rb: requires assembler for src/win{32,64}.S. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
463856a7c4
commit
24b6863f79
1 changed files with 3 additions and 0 deletions
|
@ -46,6 +46,9 @@ begin
|
|||
libffi.ldflags = RbConfig.expand("$(LDFLAGS) #{libpathflag([relative_from($topdir, "..")])} #{$LIBRUBYARG}")
|
||||
libffi.arch = RbConfig::CONFIG['host']
|
||||
if $mswin
|
||||
unless find_executable(as = /x64/ =~ libffi.arch ? "ml64" : "ml")
|
||||
raise "missing #{as} command."
|
||||
end
|
||||
$defs << "-DFFI_BUILDING"
|
||||
libffi_config = "#{relative_from($srcdir, '..')}/win32/libffi-config.rb"
|
||||
config = CONFIG.merge("top_srcdir" => $top_srcdir)
|
||||
|
|
Loading…
Add table
Reference in a new issue