mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[fix] libz not found on kindle4 (#3807)
This commit is contained in:
committed by
Frans de Jonge
parent
79881cdef9
commit
ae9d71de5f
@@ -22,7 +22,7 @@ ffi.load = function(lib)
|
||||
local loaded, re = pcall(ffi_load, lib)
|
||||
if loaded then return re end
|
||||
|
||||
local lib_path = package.searchpath(lib, "./lib?.so;./libs/lib?.so")
|
||||
local lib_path = package.searchpath(lib, "./lib?.so;./libs/lib?.so;./libs/lib?.so.1")
|
||||
if not lib_path then
|
||||
error('Not able to load dynamic library: ' .. lib)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user