Sha256: b3a9f745f2e92b825e395ffb7d8ef667d47f9d28189ae7d2323a3e9410f8086d

Contents?: true

Size: 473 Bytes

Versions: 6

Compression:

Stored size: 473 Bytes

Contents

require 'mkmf'

have_header 'dlfcn.h'

find_header("rust_support/ruby.h", "..") || abort("No rust_support")
find_library("skylight_test", "skylight_test_factory", ".") || abort("No skylight_test")

$CFLAGS << " -Werror"
if RbConfig::CONFIG["arch"] =~ /darwin(\d+)?/
  $LDFLAGS << " -lpthread"
else
  $LDFLAGS << " -Wl"
  $LDFLAGS << " -lrt -ldl -lm -lpthread"
end

CONFIG['warnflags'].gsub!('-Wdeclaration-after-statement', '')

create_makefile 'skylight_native_test', '.'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
skylight-0.3.21 ext/test/extconf.rb
skylight-0.3.20 ext/test/extconf.rb
skylight-0.3.19 ext/test/extconf.rb
skylight-0.3.18 ext/test/extconf.rb
skylight-0.3.17 ext/test/extconf.rb
skylight-0.3.14 ext/test/extconf.rb