diff --git a/Cargo.toml b/Cargo.toml index 3b681ca3c..5eae413fa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,3 @@ lz4-sys = { path = "lz4-sys", version = "1.11.0" } [dev-dependencies] rand = ">=0.7, <=0.8" - -[features] -# Enable this feature if you want to have a statically linked liblz4 -static = ["lz4-sys/static"] diff --git a/lz4-sys/Cargo.toml b/lz4-sys/Cargo.toml index 4b233ddb5..dd1d13aca 100644 --- a/lz4-sys/Cargo.toml +++ b/lz4-sys/Cargo.toml @@ -14,7 +14,3 @@ libc = "0.2" [build-dependencies] cc = "1.1" pkg-config = "0.3.9" - -[features] -# Enable this feature if you want to have a statically linked liblz4 -static = [] diff --git a/lz4-sys/build.rs b/lz4-sys/build.rs index c8e68b3e4..885b6311c 100644 --- a/lz4-sys/build.rs +++ b/lz4-sys/build.rs @@ -18,7 +18,6 @@ fn run() -> Result<(), Box> { let target = get_from_env("TARGET")?; if !target.contains("windows") - && !cfg!(feature = "static") && pkg_config::Config::new() .print_system_libs(false) .cargo_metadata(true)