diff options
-rw-r--r-- | CHANGES.txt | 1 | ||||
-rw-r--r-- | src/base/os.lua | 8 |
2 files changed, 7 insertions, 2 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index dc7e993..4af653b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -46,6 +46,7 @@ * Patch 3451928: VS2008 trying to build *.h files in C projects * Patch 3429777: Support for DragonFly BSD (Joachim de Groot) * Patch 3445049: Build fix for FreeBSD (Konstantin Tokarev) +* Bug 3121217: Test suite fails on Linux x86_64: os.findlib broken ------- 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
|