From 27e987f28ed72a3c6cf948ed5d1e9a655ca14dd4 Mon Sep 17 00:00:00 2001 From: Kris Kwiatkowski Date: Thu, 25 Mar 2021 00:46:02 +0000 Subject: [PATCH] update rust binding creation --- src/rustapi/pqc-sys/src/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rustapi/pqc-sys/src/build.rs b/src/rustapi/pqc-sys/src/build.rs index b47d8277..fac38c78 100644 --- a/src/rustapi/pqc-sys/src/build.rs +++ b/src/rustapi/pqc-sys/src/build.rs @@ -9,7 +9,7 @@ fn main() { .build(); println!("cargo:rustc-link-search=native={}/lib", dst.display()); - println!("cargo:rustc-link-lib=dylib=pqc"); + println!("cargo:rustc-link-lib=static=pqc_s"); println!("cargo:rerun-if-changed=../../../capi/*,../../../kem/*,../../../sign/*,../../../../public/pqc/pqc.h"); // The bindgen::Builder is the main entry point