Skip to content

Commit cca349e

Browse files
committed
fix order
1 parent b1605cc commit cca349e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,9 @@ fn generate_bindings(ffmpeg_include_dir: &Path, headers: &[PathBuf]) -> Bindings
243243
}
244244

245245
fn linking_with_libs_dir(library_names: &[&str], ffmpeg_libs_dir: &Path, mode: FfmpegLinkMode) {
246-
println!("cargo:rustc-link-search=native={}", ffmpeg_libs_dir);
246+
println!("cargo:rustc-link-search=native={ffmpeg_libs_dir}");
247247
for library_name in library_names {
248-
println!("cargo:rustc-link-lib={}={}", library_name, match mode {
248+
println!("cargo:rustc-link-lib={}={library_name}", match mode {
249249
FfmpegLinkMode::Dynamic => "dylib",
250250
FfmpegLinkMode::Static => "static",
251251
});

0 commit comments

Comments
 (0)