moving mysql dylib under lib/mysql2 to match installation

This commit is contained in:
Aaron Patterson 2010-06-30 10:04:40 -07:00
parent 0b36eae450
commit 925b1b13fd
1 changed files with 3 additions and 1 deletions

View File

@ -36,5 +36,7 @@ Spec::Rake::SpecTask.new('spec') do |t|
t.spec_opts << '--options' << 'spec/spec.opts' t.spec_opts << '--options' << 'spec/spec.opts'
end end
Rake::ExtensionTask.new("mysql2", JEWELER.gemspec) Rake::ExtensionTask.new("mysql2", JEWELER.gemspec) do |ext|
ext.lib_dir = File.join 'lib', 'mysql2'
end
Rake::Task[:spec].prerequisites << :compile Rake::Task[:spec].prerequisites << :compile