Permalink
Browse files

On the Fedora linux, the tidy library is called libtidy-0.9.9.so.0.0.…

…0 (whaat?).
  • Loading branch information...
1 parent fc6b99b commit db85ed83240bbf7cf96936de9a7779f47b792ce2 @libc committed Feb 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/tidy_ffi/lib_tidy.rb
View
@@ -4,7 +4,7 @@
class TidyFFI::LibTidy #:nodoc:
extend FFI::Library
- paths = Array(TidyFFI.library_path || Dir['/{opt,usr}/{,local/}lib{,64}/libtidy.{dylib,so*}'])
+ paths = Array(TidyFFI.library_path || Dir['/{opt,usr}/{,local/}lib{,64}/libtidy{,-*}.{dylib,so*}'])
begin
ffi_lib(*paths)
rescue LoadError

0 comments on commit db85ed8

Please sign in to comment.