Sha256: 50ab32bc0676d4b6e27698ec3bed54a45cd043264ddacce305f94d62cc3732cb

Contents?: true

Size: 370 Bytes

Versions: 3

Compression:

Stored size: 370 Bytes

Contents

require 'mkmf'

$CFLAGS << ' -Wall' if ENV['WALL']
$LDFLAGS << ' -static-libgcc'

dir_config('magic')
dir_config('gnurx')

have_library('gnurx')

if have_library('magic', 'magic_open') && have_header('magic.h')
  have_header('file/patchlevel.h')
  create_makefile('filemagic/ruby_filemagic')
else
  abort '*** ERROR: missing required library to compile this module'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-filemagic-0.6.2-x86-mswin32-60 ext/filemagic/extconf.rb
ruby-filemagic-0.6.2-x86-mingw32 ext/filemagic/extconf.rb
ruby-filemagic-0.6.2 ext/filemagic/extconf.rb