diff options
author | Jason Perkins <starkos@industriousone.com> | 2011-12-08 01:05:35 +0400 |
---|---|---|
committer | Jason Perkins <starkos@industriousone.com> | 2011-12-08 01:05:35 +0400 |
commit | 30e0edecaeea7c7db92bfc7be17c41f2acdf414d (patch) | |
tree | 13fdbee6e6a0738f82238e9a6a24f76e3be7d759 /src/base | |
parent | c99ccdf7de786e60f56df8134e57ea96e2abc9b6 (diff) |
Bug 3121217: Test suite fails on Linux x86_64: os.findlib broken
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/os.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/base/os.lua b/src/base/os.lua index 78ae130..5f49af4 100644 --- a/src/base/os.lua +++ b/src/base/os.lua @@ -46,8 +46,12 @@ end
end
- table.insert(formats, "%s")
- path = (path or "") .. ":/lib:/usr/lib:/usr/local/lib"
+ table.insert(formats, "%s")
+ path = path or ""
+ if os.is64bit() then
+ path = path .. ":/lib64:/usr/lib64/:usr/local/lib64"
+ end
+ path = ":/lib:/usr/lib:/usr/local/lib"
end
for _, fmt in ipairs(formats) do
|