source-engine/devtools/swigwin-1.3.34/Lib/ruby/extconf.rb

10 lines
234 B
Ruby
Raw Normal View History

2020-04-22 16:56:21 +00:00
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