Sha256: e8efd85fa4ada89ea1b5869792d424fb9fe607acc4cd73507993a9c70e9e1435

Contents?: true

Size: 633 Bytes

Versions: 2

Compression:

Stored size: 633 Bytes

Contents

require 'mkmf'

dir_config('duckdb')

raise 'duckdb library is not found. Install duckdb library file and header file.' unless have_library('duckdb')

raise 'duckdb >= 0.2.9 is required. Install duckdb >= 0.2.9' unless have_func('duckdb_value_is_null', 'duckdb.h')

# ducdb >= 0.3.3 if duckdb_append_data_chunk() is defined.
have_func('duckdb_append_data_chunk', 'duckdb.h')

have_func('duckdb_free', 'duckdb.h')

have_func('duckdb_create_config', 'duckdb.h')
have_func('duckdb_open_ext', 'duckdb.h')
have_func('duckdb_prepare_error', 'duckdb.h')

have_func('duckdb_append_date', 'duckdb.h')

create_makefile('duckdb/duckdb_native')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
duckdb-0.3.4.0 ext/duckdb/extconf.rb
duckdb-0.3.3.0 ext/duckdb/extconf.rb