Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorJason Perkins <starkos@industriousone.com>2011-12-08 01:05:35 +0400
committerJason Perkins <starkos@industriousone.com>2011-12-08 01:05:35 +0400
commit30e0edecaeea7c7db92bfc7be17c41f2acdf414d (patch)
tree13fdbee6e6a0738f82238e9a6a24f76e3be7d759 /src/base
parentc99ccdf7de786e60f56df8134e57ea96e2abc9b6 (diff)
Bug 3121217: Test suite fails on Linux x86_64: os.findlib broken
Diffstat (limited to 'src/base')
-rw-r--r--src/base/os.lua8
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