Sha256: 8a3a981976f6438c3aead1c3bdc7d409010a65d03a1ad67e4af80d1412748d0f

Contents?: true

Size: 477 Bytes

Versions: 1

Compression:

Stored size: 477 Bytes

Contents

require 'mkmf'

filegdb_path = File.expand_path("#{File.dirname(__FILE__)}/filegdb")

dir_config '', File.join(filegdb_path, 'include'), File.join(filegdb_path, 'lib')

have_library 'FileGDBAPI' or raise 'libFileGDBAPI not found'

$libs = append_library $libs, 'FileGDBAPI'

if `ld --help | grep disable-new-dtags | wc -l`.strip == '1'
  $LDFLAGS << " -Wl,--disable-new-dtags"
end

$LDFLAGS << " -Wl,-rpath,#{File.join(filegdb_path, 'lib')}"

create_makefile 'filegdb/filegdb'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
filegdb-1.1.0 ext/filegdb/extconf.rb