blob: 3bac8ccc44f1f830342311e6e18609ff70a35f41 (
plain)
1
2
3
4
5
6
7
8
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
|