slackware-current/source/d/rust/link_libffi.diff

12 lines
398 B
Diff
Raw Normal View History

--- ./compiler/rustc_llvm/build.rs.orig 2020-11-16 08:01:53.000000000 -0600
+++ ./compiler/rustc_llvm/build.rs 2020-11-19 13:46:21.222785372 -0600
@@ -234,6 +234,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