Merge pull request #303 from Blizzard/macosx-fix
Mac OSX doesn't have lib64 dirs.
This commit is contained in:
commit
8085fe0736
@ -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
|
||||||
|
Reference in New Issue
Block a user