Add Ruby support contributed by Masaki Fukushima.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
765ad025b9
commit
618e0eff61
39 changed files with 3754 additions and 10 deletions
9
Lib/ruby/extconf.rb
Normal file
9
Lib/ruby/extconf.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
require 'mkmf'
|
||||
|
||||
dir_config('yourlib')
|
||||
|
||||
if have_header('yourlib.h') and have_library('yourlib', 'yourlib_init')
|
||||
# If you use swig -c option, you may have to link libswigrb.
|
||||
# have_library('swigrb')
|
||||
create_makefile('yourlib')
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue