summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJyun-Yan You <jyyou.tw@gmail.com>2015-05-06 08:34:03 +0800
committerJyun-Yan You <jyyou.tw@gmail.com>2015-05-06 08:34:03 +0800
commitcc71a7eaa7adaea793bc86b8145ef0a1e830551a (patch)
tree76d89d476e64acdd7fc6fc1e97391ad3e7c83168
parente8d1248983aec64177d2d015cbd88f70f1ee1f82 (diff)
parente473f1237b224eec62725b616544e4375f2c7ab1 (diff)
Merge pull request #207 from cosmo0920/add-architecture-triples
Add architecture triples for Ubuntu and Debian based Linux
-rw-r--r--build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.rs b/build.rs
index 77c9e1d6..63fcf453 100644
--- a/build.rs
+++ b/build.rs
@@ -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 {