mirror of
https://github.com/encounter/rust-ffmpeg-zmwangx.git
synced 2026-07-10 21:18:40 -07:00
build: remove secondary 'dist' from the include search path
This commit is contained in:
+1
-2
@@ -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"),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user