diff options
author | Jyun-Yan You <jyyou.tw@gmail.com> | 2015-05-06 08:34:03 +0800 |
---|---|---|
committer | Jyun-Yan You <jyyou.tw@gmail.com> | 2015-05-06 08:34:03 +0800 |
commit | cc71a7eaa7adaea793bc86b8145ef0a1e830551a (patch) | |
tree | 76d89d476e64acdd7fc6fc1e97391ad3e7c83168 | |
parent | e8d1248983aec64177d2d015cbd88f70f1ee1f82 (diff) | |
parent | e473f1237b224eec62725b616544e4375f2c7ab1 (diff) |
Merge pull request #207 from cosmo0920/add-architecture-triples
Add architecture triples for Ubuntu and Debian based Linux
-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 { |