Skip to content

Commit

Permalink
Fix utf8proc FFI bindings on macOS & Windows
Browse files Browse the repository at this point in the history
The SOVER was missing ;).

Fix koreader/koreader#8018
  • Loading branch information
NiLuJe committed Jul 24, 2021
1 parent d4ba06b commit 4a507ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ffi/utf8proc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ require("ffi/utf8proc_h")

local libutf8proc
if ffi.os == "Windows" then
libutf8proc = ffi.load("libs/libutf8proc.dll")
libutf8proc = ffi.load("libs/libutf8proc-2.dll")
elseif ffi.os == "OSX" then
libutf8proc = ffi.load("libs/libutf8proc.dylib")
libutf8proc = ffi.load("libs/libutf8proc.2.dylib")
else
libutf8proc = ffi.load("libs/libutf8proc.so.2")
end
Expand Down

0 comments on commit 4a507ff

Please sign in to comment.