Open ldm0 opened 4 years ago
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
Currently blocked on a vcpkg issue(some dependency libs not automatically found by vcpkg).
Linked issue: https://github.com/microsoft/vcpkg/issues/9571