Top Level Namespace

Defined Under Namespace

Modules: ActiveMQ

Instance Method Summary collapse

Instance Method Details

#append_ld_flags(flags) ⇒ Object

Add the arguments to the linker flags.



6
7
8
9
# File 'ext/ActiveMQ/extconf.rb', line 6

def append_ld_flags(flags)
  flags = [flags] unless flags.is_a?(Array)
  with_ldflags("#{$LDFLAGS} #{flags.join(' ')}") { true }
end

#crash(str) ⇒ Object



11
12
13
14
# File 'ext/ActiveMQ/extconf.rb', line 11

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