Top Level Namespace

Defined Under Namespace

Modules: TeradataCli

Instance Method Summary collapse

Instance Method Details

#cliv2_libnameObject



13
14
15
16
17
18
19
20
# File 'ext/teradata-cli/cli/extconf.rb', line 13

def cliv2_libname
  case RUBY_PLATFORM
  when /mswin32|mingw/ then 'wincli32'
  when /mswin64/ then 'wincli64'
  else
    'cliv2'
  end
end

#extconf_mainObject



5
6
7
8
9
10
11
# File 'ext/teradata-cli/cli/extconf.rb', line 5

def extconf_main
  $objs = %w(cli.o)
  dir_config 'cli'
  if have_library cliv2_libname
    create_makefile 'teradata-cli/cli'
  end
end