Skip to content

Commit 0748118

Browse files
committed
fix: add mfplat dependencies for static build
1 parent e14770d commit 0748118

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
@@ -695,6 +695,9 @@ fn main() {
695695
if statik {
696696
if cfg!(feature = "avcodec") || cfg!(feature = "avdevice") {
697697
println!("cargo:rustc-link-lib=ole32");
698+
println!("cargo:rustc-link-lib=mfplat");
699+
println!("cargo:rustc-link-lib=strmiids");
700+
println!("cargo:rustc-link-lib=mfuuid");
698701
}
699702

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

0 commit comments

Comments
 (0)