Search for library files and include files for Ruby extensio

Hi,
If we want to search for library files and include files, we can use
dir_config(‘foo’) in a ruby file extconf.rb, and run it with
./extconf.rb
–with-foo-dir=/usr/local/foo.
But what if my include files are not under foo/include or my libraries
are
not under foo/lib?
E.g. my include files are located at foo/inc and my libraries are
located at
foo/library.

Hi,

“huiliang wu” [email protected] writes:

Hi,
If we want to search for library files and include files, we can use
dir_config(‘foo’) in a ruby file extconf.rb, and run it with ./extconf.rb
–with-foo-dir=/usr/local/foo.
But what if my include files are not under foo/include or my libraries are
not under foo/lib?
E.g. my include files are located at foo/inc and my libraries are located at
foo/library.

–with-foo-include=/usr/local/foo/inc
–with-foo-lib=/usr/local/foo/library
See README.EXT.