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"),