summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2017-09-14 23:51:43 +0800
committerruki <[email protected]>2017-09-14 17:10:22 +0800
commit4b9a068058c75325c95bd94ed603c49d949c5463 (patch)
tree107d0719a2176d0380b95ec08578dbee28cb53ec
parent96061942a778d1acf1893d2da0d0b87064ad4f7d (diff)
add default lib64 system lib path
-rw-r--r--xmake/core/sandbox/modules/import/lib/detect/find_package.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/core/sandbox/modules/import/lib/detect/find_package.lua b/xmake/core/sandbox/modules/import/lib/detect/find_package.lua
index 4b27209c4..caf88b50b 100644
--- a/xmake/core/sandbox/modules/import/lib/detect/find_package.lua
+++ b/xmake/core/sandbox/modules/import/lib/detect/find_package.lua
@@ -173,6 +173,8 @@ function sandbox_lib_detect_find_package._find_from_systemdirs(name, opt)
if opt.plat == "linux" and opt.arch == "x86_64" then
table.insert(linkdirs, "/usr/local/lib/x86_64-linux-gnu")
table.insert(linkdirs, "/usr/lib/x86_64-linux-gnu")
+ table.insert(linkdirs, "/usr/lib64")
+ table.insert(linkdirs, "/opt/lib64")
end
end