Permalink
Browse files

specify the lib_dir

  • Loading branch information...
1 parent 8560a7a commit e1423a095311012702f762e91ab71cfb0ad9b2e5 @tenderlove tenderlove committed Jan 28, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 Rakefile
View
@@ -69,6 +69,7 @@ if java
Rake::JavaExtensionTask.new("nokogiri", HOE.spec) do |ext|
jruby_home = RbConfig::CONFIG['prefix']
ext.ext_dir = 'ext/java'
+ ext.lib_dir = 'lib/nokogiri'
ext.classpath = (["#{jruby_home}/lib/jruby.jar"] + FileList['lib/*.jar'].map { |x| File.expand_path x }).join ':'
end
path = "pkg/#{HOE.spec.name}-#{HOE.spec.version}"

0 comments on commit e1423a0

Please sign in to comment.