mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/dl: revert dl with libffi because it can't run on mswin now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9d818a221e
commit
59e4e93ef7
19 changed files with 394 additions and 662 deletions
14
ext/dl/callback/extconf.rb
Normal file
14
ext/dl/callback/extconf.rb
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
require 'mkmf'
|
||||
|
||||
if compiled?("dl")
|
||||
callbacks = (0..8).map{|i| "callback-#{i}"}.unshift("callback")
|
||||
callback_srcs = callbacks.map{|basename| "#{basename}.c"}
|
||||
callback_objs = callbacks.map{|basename| "#{basename}.o"}
|
||||
|
||||
$distcleanfiles << '$(SRCS)'
|
||||
$srcs = callback_srcs
|
||||
$objs = callback_objs
|
||||
$INCFLAGS << " -I$(srcdir)/.."
|
||||
|
||||
create_makefile("dl/callback")
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue