Sha256: dcbe8244dc98c78bc14fbb9d8a2a31eab66ed34c4555764994dda9c349b66901

Contents?: true

Size: 267 Bytes

Versions: 1

Compression:

Stored size: 267 Bytes

Contents

require 'mkmf'
#have_library('stdc++', "main")
#have_library('svm', "main")
$CFLAGS = "#{ENV['CFLAGS']} -Wall -O3 "
pkg_config 'libsvm'
if CONFIG["MAJOR"].to_i >= 1 && CONFIG["MINOR"].to_i >= 8
  $CFLAGS << " -DHAVE_DEFINE_ALLOC_FUNCTION"
end
create_makefile('svmc')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
feedbackmine-libsvm-ruby-0.2.0 ext/extconf.rb