Skip to content

Commit 0891799

Browse files
committed
fix: add mfplat dependencies for static build
1 parent 7f09111 commit 0891799

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.rs

+3
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,9 @@ fn main() {
693693
if statik {
694694
if cfg!(feature = "avcodec") || cfg!(feature = "avdevice") {
695695
println!("cargo:rustc-link-lib=ole32");
696+
println!("cargo:rustc-link-lib=mfplat");
697+
println!("cargo:rustc-link-lib=strmiids");
698+
println!("cargo:rustc-link-lib=mfuuid");
696699
}
697700

698701
if cfg!(feature = "avformat") {

0 commit comments

Comments
 (0)