Skip to content

Commit

Permalink
rust: force CMake to use lib as libdir on systems that would normally…
Browse files Browse the repository at this point in the history
… use lib64 as libdir (#497)
  • Loading branch information
StephanvanSchaik authored Jul 8, 2021
1 parent be0f29f commit 6bfc23f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bindings/rust/keystone-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ fn build_with_cmake() {
}

let dest = cmake::Config::new("keystone")
.define("CMAKE_INSTALL_LIBDIR", "lib")
.define("BUILD_LIBS_ONLY", "1")
.define("BUILD_SHARED_LIBS", "OFF")
.define("LLVM_TARGETS_TO_BUILD", "all")
Expand Down

0 comments on commit 6bfc23f

Please sign in to comment.