comedilib/swig/ruby/ext/extconf.rb
Frank Mori Hess 0942349bb8 patch from Steven Jenkins <steven.jenkins@ieee.org>:
If configure attempts to build the Ruby extension on a system without a previous
installation of comedilib, compilation fails because gcc can't find comedilib.h.

The attached patch adds the distribution include directory to the gcc search
path when compiling the extension.
2004-11-23 01:18:14 +00:00

4 lines
88 B
Ruby

require 'mkmf'
dir_config('comedilib')
have_library('comedi')
create_makefile("comedi")