Top Level Namespace

Defined Under Namespace

Modules: GRPC Classes: Struct, TmpChannelArgs

Constant Summary collapse

LIBDIR =
RbConfig::CONFIG['libdir']
INCLUDEDIR =
RbConfig::CONFIG['includedir']
GRPC_ROOT =
nil
GRPC_CONFIG =
'opt'
GRPC_LIB_DIR =
File.join(File.join(GRPC_ROOT, 'libs'), GRPC_CONFIG)
HEADER_DIRS =
[
  # Search /opt/local (Mac source install)
  '/opt/local/include',

  # Search /usr/local (Source install)
  '/usr/local/include',

  # Check the ruby install locations
  INCLUDEDIR
]
LIB_DIRS =
[
  # Search /opt/local (Mac source install)
  '/opt/local/lib',

  # Search /usr/local (Source install)
  '/usr/local/lib',

  # Check the ruby install locations
  LIBDIR
]

Instance Method Summary collapse

Instance Method Details

#crash(msg) ⇒ Object



88
89
90
91
# File 'ext/grpc/extconf.rb', line 88

def crash(msg)
  print(" extconf failure: #{msg}\n")
  exit 1
end