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
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
raise(
"Can't find rpm libs on your system: #{e.message}"
@ -16,4 +16,4 @@ module RPM
attach_function 'rpmvercmp', [:string, :string], :int
end
end
end