Sha256: 7144fdcab1f37825f14376badc08b86dfd438b3db820e49bbef34bbc7c87c693
Contents?: true
Size: 425 Bytes
Versions: 2
Compression:
Stored size: 425 Bytes
Contents
require 'mkmf' raise 'gdal-config not found.' if `which gdal-config`.empty? raise 'gdal-config not found.' if `which gdal-config`.empty? dir_config 'gdal', `gdal-config --cflags`.split(' ')[0].gsub(/-I/, ''), `gdal-config --libs`.split(' ')[0].gsub(/-L/, '') have_library 'gdal' or raise 'libgdal not found' pkg_config 'gdal' $libs = append_library $libs, 'gdal' create_makefile('gdal-ruby/ogr')
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gdal-0.0.5 | ext/gdal-ruby/ogr/extconf.rb |
gdal-0.0.4 | ext/gdal-ruby/ogr/extconf.rb |