require 'mkmf'
dir_config( 'lsapi' )
if ( have_library( "socket" ))
have_library( "nsl" )
end
if RUBY_VERSION =~ /1.9/ then
$CPPFLAGS += " -DRUBY_19"
end
if RUBY_VERSION =~ /2/ then
$CPPFLAGS += " -DRUBY_2"
end
create_makefile( "lsapi" )
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Makefile | File | 8.96 KB | 0644 |
|
| extconf.rb | File | 252 B | 0644 |
|
| lsapidef.h | File | 4.54 KB | 0644 |
|
| lsapilib.c | File | 116.34 KB | 0644 |
|
| lsapilib.h | File | 12 KB | 0644 |
|
| lsruby.c | File | 22.86 KB | 0644 |
|