Merge pull request #303 from Blizzard/macosx-fix

Mac OSX doesn't have lib64 dirs.
This commit is contained in:
Tom van Dijck 2015-10-09 10:04:53 -07:00
commit 8085fe0736

View File

@ -101,7 +101,7 @@
table.insert(formats, "%s") table.insert(formats, "%s")
path = path or "" path = path or ""
local archpath = "/lib:/usr/lib:/usr/local/lib" 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 archpath = "/lib64:/usr/lib64/:usr/local/lib64" .. ":" .. archpath
end end
if (#path > 0) then if (#path > 0) then