Skip to content

Commit 7669972

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 0284573 commit 7669972

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
@@ -19,7 +19,3 @@ lz4-sys = { path = "lz4-sys", version = "1.11.0" }
1919

2020
[dev-dependencies]
2121
rand = ">=0.7, <=0.8"
22-
23-
[features]
24-
# Enable this feature if you want to have a statically linked liblz4
25-
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"
1414
[build-dependencies]
1515
cc = "1.1"
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)