vp-build/srcpkgs/rust/patches/llvm-with-ffi.patch

10 lines
174 B
Diff

--- rustc-1.21.0-src/src/librustc_llvm/lib.rs.orig
+++ rustc-1.21.0-src/src/librustc_llvm/lib.rs
@@ -425,3 +425,6 @@
}
}
}
+
+#[link(name = "ffi")]
+extern {}