
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.
4 lines
88 B
Ruby
4 lines
88 B
Ruby
require 'mkmf'
|
|
dir_config('comedilib')
|
|
have_library('comedi')
|
|
create_makefile("comedi")
|