mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 14:36:16 +01:00
Dynamically link libplist
This commit is contained in:
@@ -13,7 +13,7 @@ tokio = { version = "1.44.1", features = ["full"] }
|
||||
libc = "0.2.171"
|
||||
openssl-sys = { version = "0.9", features = ["vendored"] }
|
||||
plist = "1.7.1"
|
||||
plist_plus = { version = "0.2.6", features = ["vendored"] }
|
||||
plist_plus = { version = "0.2.6", features = ["dynamic"] }
|
||||
|
||||
[build-dependencies]
|
||||
cbindgen = "0.28.0"
|
||||
|
||||
@@ -16,4 +16,6 @@ fn main() {
|
||||
.generate()
|
||||
.expect("Unable to generate bindings")
|
||||
.write_to_file("idevice.h");
|
||||
|
||||
println!("cargo:rustc-link-arg=-lplist-2.0");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user