Top Level Namespace

Defined Under Namespace

Modules: ActiveRecord, Arel, IBM_DB, Kernel Classes: Fixtures

Constant Summary collapse

WIN =

---------------------------------------------------------------------- | Licensed Materials - Property of IBM | | | | © Copyright IBM Corporation 2006 - 2012 | ----------------------------------------------------------------------

RUBY_PLATFORM =~ /mswin/ || RUBY_PLATFORM =~ /mingw/
IBM_DB_HOME =

use ENV or latest db2 you can find

ENV['IBM_DB_HOME']
IBM_DB_INCLUDE =
"#{IBM_DB_HOME}/include"
IBM_DB_LIB =
"#{IBM_DB_HOME}/lib32"

Instance Method Summary collapse

Instance Method Details

#crash(str) ⇒ Object



83
84
85
86
# File 'ext/extconf.rb', line 83

def crash(str)
  printf(" extconf failure: %s\n", str)
  exit 1
end

#libpathflag(libpath) ⇒ Object



113
114
115
116
117
118
119
120
121
122
# File 'ext/extconf.rb', line 113

def libpathflag(libpath)
  libpathflag0 + case Config::CONFIG["arch"]
    when /solaris2/
      libpath[0..-2].map {|path| " -R#{path}"}.join
    when /linux/
      libpath[0..-2].map {|path| " -Wl,-rpath,#{path}"}.join
    else
      ""
  end
end

#libpathflag0Object



112
# File 'ext/extconf.rb', line 112

alias :libpathflag0 :libpathflag