Skip to content

Commit

Permalink
Don't depend on ffi if using jruby
Browse files Browse the repository at this point in the history
  • Loading branch information
splattael committed May 18, 2011
1 parent 57e8e79 commit 3e43356
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libnotify.gemspec
Expand Up @@ -16,7 +16,9 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]

s.add_runtime_dependency 'ffi', '~> 1.0'
unless RUBY_PLATFORM =~ /java/
s.add_runtime_dependency 'ffi', '~> 1.0'
end

s.add_development_dependency 'minitest'
s.add_development_dependency 'yard'
Expand Down

0 comments on commit 3e43356

Please sign in to comment.