From d200eb4be6e55551b90cf54b29a6aa016b591b15 Mon Sep 17 00:00:00 2001 From: Duncan Ogilvie Date: Tue, 18 Jan 2022 21:33:22 +0100 Subject: [PATCH] Fix rust bindings --- bindings/rust/build.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/rust/build.rs b/bindings/rust/build.rs index 34a066c0..68c52cd8 100644 --- a/bindings/rust/build.rs +++ b/bindings/rust/build.rs @@ -87,7 +87,7 @@ fn main() { cmd.current_dir(&unicorn_dir) .arg("-B") .arg("rust_build") - .arg("-DUNICORN_BUILD_SHARED=off") + .arg("-DBUILD_SHARED_LIBS=OFF") .arg("-G") .arg("Visual Studio 16 2019"); @@ -127,7 +127,7 @@ fn main() { cmd.current_dir(&unicorn_dir) .arg("-B") .arg("rust_build") - .arg("-DUNICORN_BUILD_SHARED=off"); + .arg("-DBUILD_SHARED_LIBS=OFF"); if profile == "debug" { cmd.arg("-DCMAKE_BUILD_TYPE=Debug");