Files
MINGW-packages/mingw-w64-rust/0001-add-missing-libs.patch
2020-11-22 12:42:20 +01:00

15 lines
503 B
Diff

diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs
index caa2740408..52738a47f7 100644
--- a/compiler/rustc_llvm/build.rs
+++ b/compiler/rustc_llvm/build.rs
@@ -269,6 +269,7 @@
// LLVM requires symbols from this library, but apparently they're not printed
// during llvm-config?
if target.contains("windows-gnu") {
+ println!("cargo:rustc-link-lib=static-nobundle=ffi");
println!("cargo:rustc-link-lib=static-nobundle=pthread");
}
}
--
2.12.0