We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9734952 commit 7bf5949Copy full SHA for 7bf5949
CHANGELOG.md
@@ -1,3 +1,8 @@
1
+## [0.20.1] - UNRELEASED
2
+
3
+### Fixed
4
+- Fixed static linking
5
6
## [0.20.0] - 2017-09-14
7
8
### Added
build.rs
@@ -318,7 +318,7 @@ fn link_static() {
318
319
// Determine the shared mode used by LLVM.
320
let mode = run_llvm_config(&["--shared-mode"]).map(|m| m.trim().to_owned());
321
- let prefix = if mode.ok().map_or(false, |m| m == "static") { "static" } else { "" };
+ let prefix = if mode.ok().map_or(false, |m| m == "static") { "static=" } else { "" };
322
323
// Specify required LLVM static libraries.
324
println!("cargo:rustc-link-search=native={}", run_llvm_config(&["--libdir"]).unwrap().trim_right());
0 commit comments