diff options
| author | ruki <[email protected]> | 2017-09-14 23:51:43 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-09-14 17:10:22 +0800 |
| commit | 4b9a068058c75325c95bd94ed603c49d949c5463 (patch) | |
| tree | 107d0719a2176d0380b95ec08578dbee28cb53ec | |
| parent | 96061942a778d1acf1893d2da0d0b87064ad4f7d (diff) | |
add default lib64 system lib path
| -rw-r--r-- | xmake/core/sandbox/modules/import/lib/detect/find_package.lua | 2 |
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 |
