Mac OSX doesn't have lib64 dirs.

This commit is contained in:
Tom van Dijck 2015-10-07 11:26:41 -07:00
parent 9f9353eb27
commit fc228bfabf

View File

@ -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