mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 13:23:08 +02:00
include BCrypt on Windows
This commit is contained in:
parent
1c5b01975c
commit
85153423be
2 changed files with 7 additions and 0 deletions
|
@ -19,6 +19,11 @@ fn link_libtaskchampion() {
|
|||
let libtc_dir = libtc_dir.to_str().expect("path is valid utf-8");
|
||||
println!("cargo:rustc-link-search={}", libtc_dir);
|
||||
println!("cargo:rustc-link-lib=dylib=taskchampion");
|
||||
|
||||
// on windows, it appears that rust std requires BCrypt
|
||||
if cfg!(target_os = "windows") {
|
||||
println!("cargo:rustc-link-lib=dylib=bcrypt");
|
||||
}
|
||||
}
|
||||
|
||||
/// Build the Unity-based C test suite in `src/bindings_tests`, linking the result with this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue