From 373afc7839dc55fe687b8bf7322f14bcb6c3bbd6 Mon Sep 17 00:00:00 2001 From: john wells Date: Mon, 30 May 2016 11:36:48 -0600 Subject: [PATCH] build: remove secondary 'dist' from the include search path --- sys/build.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/build.rs b/sys/build.rs index bc87c1c..15934f1 100644 --- a/sys/build.rs +++ b/sys/build.rs @@ -291,7 +291,7 @@ fn check_features(infos: &Vec<(&'static str, Option<&'static str>, &'static str) }; if !Command::new(compiler).current_dir(&out_dir) - .arg("-I").arg(search().join("dist").join("include").to_string_lossy().into_owned()) + .arg("-I").arg(search().join("include").to_string_lossy().into_owned()) .arg("-o").arg(&executable) .arg("check.c") .status().expect("Command failed").success() { @@ -359,7 +359,6 @@ fn main() { build().unwrap(); } - check_features(&vec![ ("libavutil/avutil.h", None, "FF_API_OLD_AVOPTIONS"),