build: remove secondary 'dist' from the include search path

This commit is contained in:
john wells
2023-05-24 21:49:22 +02:00
committed by Till Höppner
parent 4e917bbc8c
commit 373afc7839
+1 -2
View File
@@ -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"),