Sha256: 9f5e4e571529123f6ed78a569b4bcd0f3693d8833bcd063d934c97a63e8c2177
Contents?: true
Size: 440 Bytes
Versions: 3
Compression:
Stored size: 440 Bytes
Contents
require 'mkmf' $CFLAGS << ' -Wall' if ENV['WALL'] $LDFLAGS << ' -static-libgcc' if RUBY_PLATFORM =~ /cygwin|mingw|mswin/ dir_config('magic') dir_config('gnurx') have_library('gnurx') if have_library('magic', 'magic_open') && have_header('magic.h') have_func('magic_version') 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.7.0-x86-mswin32-60 | ext/filemagic/extconf.rb |
ruby-filemagic-0.7.0-x86-mingw32 | ext/filemagic/extconf.rb |
ruby-filemagic-0.7.0 | ext/filemagic/extconf.rb |