fix typo breaking static builds

Signed-off-by: strawberry <strawberry@pupbrain.dev>
This commit is contained in:
strawberry 2024-04-10 12:10:49 -04:00
parent f740d901aa
commit 7f4b5c097d

View file

@ -105,11 +105,11 @@ fn main() {
"default"
};
let build_args: Vec<String> = if cfg!(features = "clang") && cfg!(features = "static") {
let build_args: Vec<String> = if cfg!(feature = "static") {
vec![
format!("VARIANT={}", variant),
format!("CONFIG_STATIC=true"), // only intended to be used by clang
format!("V={}", "1"), // verbose (?)
format!("CONFIG_STATIC=true"),
format!("V={}", "1"), // verbose (?)
format!("OUT={}", &out_dir),
format!("CC={}", compiler),
]