From a22a2f888004769cd0d2511f65279de6df60a952 Mon Sep 17 00:00:00 2001 From: ignisf Date: Tue, 17 Jun 2014 15:02:09 +0300 Subject: [PATCH] Disable building i18n (icu) --- ext/libv8/builder.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/libv8/builder.rb b/ext/libv8/builder.rb index 26a5789..84b3940 100644 --- a/ext/libv8/builder.rb +++ b/ext/libv8/builder.rb @@ -33,6 +33,10 @@ module Libv8 # Pass clang=1 to GYP as noted in wiki # https://code.google.com/p/v8/wiki/BuildingWithGYP#Clang_+_make flags << 'GYP_DEFINES="clang=1"' if @compiler.is_a? Compiler::Clang + + # Disable i18n + flags << 'i18nsupport=off' + # Solaris / Smart OS requires additional -G flag to use with -fPIC flags << "CFLAGS=-G" if @compiler.target =~ /solaris/