summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rakefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 156970f..97d8a44 100644
--- a/Rakefile
+++ b/Rakefile
@@ -58,7 +58,11 @@ desc "Installing library (extension)"
task :install_ext => [ :compile_ext, :install_pure, :install_ext_really ]
desc "Installing library (extension)"
-task :install => :install_ext
+if PLATFORM =~ /java/
+ task :install => :install_pure
+else
+ task :install => :install_ext
+end
desc "Compiling extension"
task :compile_ext => [ EXT_PARSER_DL, EXT_GENERATOR_DL ]