Top Level Namespace

Defined Under Namespace

Modules: TeradataCli

Instance Method Summary collapse

Instance Method Details

#cliv2_libnameObject



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

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

#extconf_mainObject



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

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