Sha256: 8c4d645c3c4c781546387d62e7efabef76ea689423e14cea834b39e7a54e4439

Contents?: true

Size: 484 Bytes

Versions: 1

Compression:

Stored size: 484 Bytes

Contents

require "mkmf"

cflags = " -shared "

if $solaris
  cflags = " -G -fPIC "
  # From EventMachine
  CONFIG['LDSHARED'] = "$(CXX) -G -fPIC"
  if CONFIG['CC'] == 'cc'
    $CFLAGS = CONFIG['CFLAGS'] = "-g -O2 -fPIC"
    CONFIG['CCDLFLAGS'] = "-fPIC"
  end
end

`cd libuv; CFLAGS="#{cflags}" make; cd ..; cp libuv/uv.a libuv.a`

dir_config("uv", File.expand_path("../libuv/include", __FILE__), File.expand_path("../libuv", __FILE__))

have_library("uv")

create_makefile("noderb_extension")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
noderb-0.0.8 ext/noderb_extension/extconf.rb