add librpm-5.4.so to rpm.rb

This commit is contained in:
Alexander Khryukin 2016-03-15 19:10:13 +03:00
parent 8934f12cae
commit b8841e78c7
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ module RPM
extend ::FFI::Library extend ::FFI::Library
begin begin
ffi_lib ['librpm.so.3', 'librpm.so.2', 'librpm.so.1', 'rpm'] ffi_lib ['librpm.so.3', 'librpm.so.2', 'librpm.so.1', 'librpm-5.4.so', 'rpm']
rescue LoadError => e rescue LoadError => e
raise( raise(
"Can't find rpm libs on your system: #{e.message}" "Can't find rpm libs on your system: #{e.message}"