Permalink
Browse files

Specify alternate lib file names.

  • Loading branch information...
1 parent 324a230 commit fe6507a553d8db3ba0fa68bef91f02c881230419 @postmodern committed May 12, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/ffi/hunspell/hunspell.rb
View
3 lib/ffi/hunspell/hunspell.rb
@@ -5,7 +5,8 @@ module FFI
module Hunspell
extend FFI::Library
- ffi_lib ['hunspell-1.2', 'hunspell-1.3']
+ ffi_lib ['hunspell-1.2', 'libhunspell-1.2.so.0',
+ 'hunspell-1.3', 'libhunspell-1.3.so.0']
attach_function :Hunspell_create, [:string, :string], :pointer
attach_function :Hunspell_create_key, [:string, :string, :string], :pointer

0 comments on commit fe6507a

Please sign in to comment.