Merge pull request #230 from lacoonte/add-advapi32-win
fix: windows build failing due to missing advapi32
This commit is contained in:
commit
1491bd63eb
1 changed files with 1 additions and 0 deletions
|
|
@ -166,6 +166,7 @@ fn main() {
|
||||||
|
|
||||||
if cfg!(target_os = "windows") {
|
if cfg!(target_os = "windows") {
|
||||||
config.cxxflag("/utf-8");
|
config.cxxflag("/utf-8");
|
||||||
|
println!("cargo:rustc-link-lib=advapi32");
|
||||||
}
|
}
|
||||||
|
|
||||||
if cfg!(feature = "coreml") {
|
if cfg!(feature = "coreml") {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue