waku-sys/build.rs use STATIC=1 instead of STATIC=true

Needed to adapt to nwaku changes
This commit is contained in:
Ivan Folgueira Bande 2025-02-12 00:03:53 +01:00
parent dcafb7fc48
commit b89a4a247e
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7

View File

@ -53,7 +53,7 @@ fn build_nwaku_lib(project_dir: &Path) {
set_current_dir(vendor_path).expect("Moving to vendor dir");
let mut cmd = Command::new("make");
cmd.arg("libwaku").arg("STATIC=true");
cmd.arg("libwaku").arg("STATIC=1");
cmd.status()
.map_err(|e| println!("cargo:warning=make build failed due to: {e}"))
.unwrap();