Debian Codegraph @

debian/patches/02_disable_static_linking.diff

raw
1 Index: libxml/Cargo.toml
2 ===================================================================
3 --- libxml.orig/Cargo.toml
4 +++ libxml/Cargo.toml
5 @@ -38,11 +38,6 @@ keywords = [
6 license = "MIT"
7 repository = "https://github.com/KWARC/rust-libxml"
8
9 -[features]
10 -default = ["runtime"]
11 -runtime = ["bindgen/runtime"]
12 -static = ["bindgen/static"]
13 -
14 [lib]
15 name = "libxml"
16 path = "src/lib.rs"
17 @@ -111,6 +106,7 @@ version = "1.0.0"
18
19 [build-dependencies.bindgen]
20 version = ">= 0.72, <1"
21 +features = [ "runtime" ]
22 default-features = false
23
24 [target.'cfg(all(target_family = "windows", target_env = "gnu"))'.build-dependencies.pkg-config]