Top Level Namespace

Defined Under Namespace

Modules: ICU Classes: ICURecipe

Constant Summary collapse

ROOT =
File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))

Instance Method Summary collapse

Instance Method Details

#asplode(lib) ⇒ Object

Utility functions



9
10
11
# File 'ext/icu/extconf.rb', line 9

def asplode(lib)
  abort "-----\n#{lib} is missing.  Please locate mkmf.log to investigate how it is failing.\n-----"
end

#lib_a(ldflag) ⇒ Object



17
18
19
20
21
22
# File 'ext/icu/extconf.rb', line 17

def lib_a(ldflag)
  case ldflag
  when /\A-l(.+)/
    "lib#{$1}.#{$LIBEXT}"
  end
end

#using_system_libraries?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'ext/icu/extconf.rb', line 13

def using_system_libraries?
  arg_config('--use-system-libraries', !!ENV['ICU_USE_SYSTEM_LIBRARIES'])
end