void-packages/srcpkgs/rust/patches/llvm-with-ffi.patch

10 lines
213 B
Diff

--- rustc-1.12.0/src/librustc_llvm/lib.rs.orig
+++ rustc-1.12.0/src/librustc_llvm/lib.rs
@@ -481,3 +481,6 @@
mod llvmdeps {
include! { env!("CFG_LLVM_LINKAGE_FILE") }
}
+
+#[link(name = "ffi")]
+extern {}