let patchelf return nil on blank rpath

This commit is contained in:
rmnull 2020-07-24 09:17:20 +05:30
parent d607528a5b
commit f92c7d30c1
No known key found for this signature in database
GPG Key ID: 35BAB82D31EFAD91

View File

@ -246,7 +246,7 @@ module ELFShim
raise ErrorDuringExecution.new(cmd_rpath, status: $CHILD_STATUS, output: [[:stderr, rpath]])
end
rpath
rpath unless rpath.blank?
end
def patchelf_patcher