Sha256: b8fd70a9111ebca7415e5de75c233a3265c09a60386602545759bdea23a2624f

Contents?: true

Size: 281 Bytes

Versions: 2

Compression:

Stored size: 281 Bytes

Contents

require 'mkmf'

$CFLAGS << ' -Wall' if ENV['WALL']
dir_config('magic')

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-filemagic-0.5.0 ext/extconf.rb
ruby-filemagic-0.4.2 ext/extconf.rb