diff options
author | Hiroshi Hatake <cosmo0920.oucc@gmail.com> | 2015-05-06 02:44:45 +0900 |
---|---|---|
committer | Hiroshi Hatake <cosmo0920.oucc@gmail.com> | 2015-05-06 02:58:19 +0900 |
commit | e473f1237b224eec62725b616544e4375f2c7ab1 (patch) | |
tree | e06ddaeab3cbdefbc221596522c6dbbc07bd69a3 | |
parent | 40b62ebc9853b8feeaddce8cad972eebdb9f99a9 (diff) |
Add architecture triples for Ubuntu and Debian based Linux
In Ubuntu and Debian based Linux, `libclang.so` is placed in
`/usr/lib/x86_64-linux-gnu`.
-rw-r--r-- | build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2,7 +2,7 @@ use std::env; use std::fs; use std::path::Path; -const LINUX_CLANG_DIRS: &'static [&'static str] = &["/usr/lib", "/usr/lib/llvm", "/usr/lib64/llvm"]; +const LINUX_CLANG_DIRS: &'static [&'static str] = &["/usr/lib", "/usr/lib/llvm", "/usr/lib64/llvm", "/usr/lib/x86_64-linux-gnu"]; const MAC_CLANG_DIR: &'static str = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib"; fn path_exists(path: &Path) -> bool { |