Bug 3121217: Test suite fails on Linux x86_64: os.findlib broken

This commit is contained in:
Jason Perkins 2011-12-07 16:05:35 -05:00
parent d3ed45be11
commit 27269f826a
2 changed files with 7 additions and 2 deletions

View File

@ -46,6 +46,7 @@
* Patch 3451928: VS2008 trying to build *.h files in C projects * Patch 3451928: VS2008 trying to build *.h files in C projects
* Patch 3429777: Support for DragonFly BSD (Joachim de Groot) * Patch 3429777: Support for DragonFly BSD (Joachim de Groot)
* Patch 3445049: Build fix for FreeBSD (Konstantin Tokarev) * Patch 3445049: Build fix for FreeBSD (Konstantin Tokarev)
* Bug 3121217: Test suite fails on Linux x86_64: os.findlib broken
------- -------

View File

@ -46,8 +46,12 @@
end end
end end
table.insert(formats, "%s") table.insert(formats, "%s")
path = (path or "") .. ":/lib:/usr/lib:/usr/local/lib" path = path or ""
if os.is64bit() then
path = path .. ":/lib64:/usr/lib64/:usr/local/lib64"
end
path = ":/lib:/usr/lib:/usr/local/lib"
end end
for _, fmt in ipairs(formats) do for _, fmt in ipairs(formats) do