(library_names: &[&str], ffmpeg_libs_dir: &Path)
| 243 | } |
| 244 | |
| 245 | fn static_linking_with_libs_dir(library_names: &[&str], ffmpeg_libs_dir: &Path) { |
| 246 | println!("cargo:rustc-link-search=native={}", ffmpeg_libs_dir); |
| 247 | for library_name in library_names { |
| 248 | println!("cargo:rustc-link-lib=static={}", library_name); |
| 249 | } |
| 250 | } |
| 251 | |
| 252 | #[allow(dead_code)] |
| 253 | pub struct EnvVars { |