Skip to content

Commit

Permalink
Fix brew not found on non-Mac platforms (#1594)
Browse files Browse the repository at this point in the history
Follow-up to #1593
  • Loading branch information
Frenzie committed Apr 2, 2023
1 parent 52aeac3 commit 14bb24f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ffi/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ require("ffi/posix_h")

local util = {}

if ffi.os == "OSX" then
util.KO_DYLD_PREFIX = getlibprefix()
end
util.KO_DYLD_PREFIX = ffi.os == "OSX" and getlibprefix() or ""

if ffi.os == "Windows" then
util.gettime = function()
Expand Down

0 comments on commit 14bb24f

Please sign in to comment.