Fixed "ld: warning: directory not found for option '-L/usr/lib64'" on OS X. (nw)

This commit is contained in:
Curt Coder 2015-03-30 09:45:19 +03:00
parent 70e09f9618
commit 7846f994b3

View File

@ -77,7 +77,7 @@
table.insert(formats, "%s")
path = path or ""
if os.is64bit() then
if os.is64bit() and not os.is("macosx") then
path = path .. ":/lib64:/usr/lib64/:usr/local/lib64"
end
path = path .. ":/lib:/usr/lib:/usr/local/lib"