From fc228bfabf438cd21a8d64e5d5002600a592ecfd Mon Sep 17 00:00:00 2001 From: Tom van Dijck Date: Wed, 7 Oct 2015 11:26:41 -0700 Subject: [PATCH] Mac OSX doesn't have lib64 dirs. --- src/base/os.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/os.lua b/src/base/os.lua index a31a977b..bdbe1236 100644 --- a/src/base/os.lua +++ b/src/base/os.lua @@ -101,7 +101,7 @@ table.insert(formats, "%s") path = path or "" local archpath = "/lib:/usr/lib:/usr/local/lib" - if os.is64bit() then + if os.is64bit() and not os.is("macosx") then archpath = "/lib64:/usr/lib64/:usr/local/lib64" .. ":" .. archpath end if (#path > 0) then