diff --git a/libbpf-cargo/Cargo.toml b/libbpf-cargo/Cargo.toml
index 1396bba7..e76c5047 100644
--- a/libbpf-cargo/Cargo.toml
+++ b/libbpf-cargo/Cargo.toml
@@ -27,7 +27,7 @@ path = "src/lib.rs"
[features]
# When turned on, link against system-installed libbpf instead of building
# and linking against vendored libbpf sources
-novendor = ["libbpf-sys/novendor"]
+static = ["libbpf-sys/static"]
[dependencies]
anyhow = "1.0.1"
diff --git a/libbpf-cargo/src/build.rs b/libbpf-cargo/src/build.rs
index 14bf656f..a86f1c14 100644
--- a/libbpf-cargo/src/build.rs
+++ b/libbpf-cargo/src/build.rs
@@ -51,7 +51,7 @@ fn extract_version(output: &str) -> Result<&str> {
/// Extract vendored libbpf header files to a temporary directory.
///
/// Directory and enclosed contents will be removed when return object is dropped.
-#[cfg(not(feature = "novendor"))]
+#[cfg(feature = "static")]
fn extract_libbpf_headers_to_disk(target_dir: &Path) -> Result