rusty_ffmpeg icon indicating copy to clipboard operation
rusty_ffmpeg copied to clipboard

Add CI Windows build result testing

Open ldm0 opened this issue 3 years ago • 1 comments

Currently blocked on a vcpkg issue(some dependency libs not automatically found by vcpkg).

Linked issue: https://github.com/microsoft/vcpkg/issues/9571

ldm0 avatar Oct 22 '20 16:10 ldm0

I got static linking working on windows by adding

[target.x86_64-pc-windows-msvc]
rustflags = [
    "-C", "link-arg=Mfplat.lib",
    "-C", "link-arg=Strmiids.lib",
    "-C", "link-arg=Mfuuid.lib",
    "-C", "link-arg=Bcrypt.lib",
    "-C", "link-arg=Secur32.lib",
    "-C", "link-arg=Ole32.lib",
    "-C", "link-arg=User32.lib"
]

to the .cargo/config.toml

icewind1991 avatar Jul 03 '21 13:07 icewind1991