mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
10 lines
267 B
Lua
10 lines
267 B
Lua
-- Set search path for `require()`.
|
|
package.path =
|
|
"common/?.lua;frontend/?.lua;" ..
|
|
package.path
|
|
package.cpath =
|
|
"common/?.so;common/?.dll;/usr/lib/lua/?.so;" ..
|
|
package.cpath
|
|
-- Setup `ffi.load` override and 'loadlib' helper.
|
|
require("ffi/loadlib")
|