mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Truly silence the attempt at loading SDL2
Expanding on https://github.com/koreader/koreader/pull/7682 ffi/input, loaded by the Device singleton, also needs to know that in order to setup the proper input backend for SDL2. Requires https://github.com/koreader/koreader-base/pull/1372 because that's where the machinery for those checks live.
This commit is contained in:
@@ -24,7 +24,7 @@ ffi.load = function(lib)
|
||||
|
||||
if not lib_path then
|
||||
io.write("ffi.load (warning): ", re, "\n")
|
||||
error('Not able to load dynamic library: ' .. lib)
|
||||
error("Not able to load dynamic library: " .. lib)
|
||||
else
|
||||
io.write("ffi.load (assisted searchpath): ", lib_path, "\n")
|
||||
return ffi_load(lib_path)
|
||||
|
||||
Reference in New Issue
Block a user