From 2526a92b8c729dafda57e363f492dd3d4f4180ac Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Thu, 3 Oct 2024 21:59:06 +0200 Subject: [PATCH] macos: fix monolibtic library extension --- ffi/loadlib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffi/loadlib.lua b/ffi/loadlib.lua index 746d4d52b..cb70b4d65 100644 --- a/ffi/loadlib.lua +++ b/ffi/loadlib.lua @@ -21,7 +21,7 @@ local android = ffi.os == "Linux" and os.getenv("IS_ANDROID") and require("andro local log = android and android.LOGI or print local monolibtic = { - path = (android and android.nativeLibraryDir or "libs") .. "/libkoreader-monolibtic.so", + path = (android and android.nativeLibraryDir or "libs") .. "/libkoreader-monolibtic." .. (ffi.os == "OSX" and "dylib" or "so"), redirects = { ["blitbuffer"] = true, ["czmq"] = true,