add librpm-5.4.so to rpm.rb
This commit is contained in:
parent
8934f12cae
commit
b8841e78c7
|
@ -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}"
|
||||||
|
|
Loading…
Reference in New Issue