Name the C library differently from the crate
This commit is contained in:
@@ -18,7 +18,7 @@ fn link_libtaskchampion() {
|
|||||||
|
|
||||||
let libtc_dir = libtc_dir.to_str().expect("path is valid utf-8");
|
let libtc_dir = libtc_dir.to_str().expect("path is valid utf-8");
|
||||||
println!("cargo:rustc-link-search={}", libtc_dir);
|
println!("cargo:rustc-link-search={}", libtc_dir);
|
||||||
println!("cargo:rustc-link-lib=dylib=taskchampion");
|
println!("cargo:rustc-link-lib=dylib=taskchampionlib");
|
||||||
|
|
||||||
// on windows, it appears that rust std requires BCrypt
|
// on windows, it appears that rust std requires BCrypt
|
||||||
if cfg!(target_os = "windows") {
|
if cfg!(target_os = "windows") {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "taskchampion"
|
name = "taskchampionlib"
|
||||||
crate-type = ["staticlib", "cdylib", "rlib"]
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|||||||
Reference in New Issue
Block a user