Skip to content

Commit 93cbd4e

Browse files
Revert "Introduce static features"
This reverts commit c9b6db5. Suggested in Fedora Linux package review: https://bugzilla.redhat.com/show_bug.cgi?id=2249863#c4
1 parent 59169ae commit 93cbd4e

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

Diff for: Cargo.toml

-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,3 @@ lz4-sys = { path = "lz4-sys", version = "1.9.4" }
2121
[dev-dependencies]
2222
rand = ">=0.7, <=0.8"
2323
docmatic = "0.1"
24-
25-
[features]
26-
# Enable this feature if you want to have a statically linked liblz4
27-
static = ["lz4-sys/static"]

Diff for: lz4-sys/Cargo.toml

-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,3 @@ libc = "0.2.44"
1414
[build-dependencies]
1515
cc = "1.0.25"
1616
pkg-config = "0.3.9"
17-
18-
[features]
19-
# Enable this feature if you want to have a statically linked liblz4
20-
static = []

Diff for: lz4-sys/build.rs

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ fn run() -> Result<(), Box<dyn Error>> {
1818
let target = get_from_env("TARGET")?;
1919

2020
if !target.contains("windows")
21-
&& !cfg!(feature = "static")
2221
&& pkg_config::Config::new()
2322
.print_system_libs(false)
2423
.cargo_metadata(true)

0 commit comments

Comments
 (0)