diff options
Diffstat (limited to 'development/rust/link_libffi.diff')
-rw-r--r-- | development/rust/link_libffi.diff | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/development/rust/link_libffi.diff b/development/rust/link_libffi.diff new file mode 100644 index 0000000000000..38e0113e9cf53 --- /dev/null +++ b/development/rust/link_libffi.diff @@ -0,0 +1,12 @@ +diff -Naur rustc-1.21.0-src.bak/src/librustc_llvm/build.rs rustc-1.21.0-src/src/librustc_llvm/build.rs +--- rustc-1.21.0-src.bak/src/librustc_llvm/build.rs 2017-10-10 09:04:51.000000000 +1300 ++++ rustc-1.21.0-src/src/librustc_llvm/build.rs 2017-10-14 15:28:56.761081727 +1300 +@@ -221,6 +221,8 @@ + println!("cargo:rustc-link-lib={}={}", kind, name); + } + ++ println!("cargo:rustc-link-lib=dylib=ffi"); ++ + // LLVM ldflags + // + // If we're a cross-compile of LLVM then unfortunately we can't trust these |